return CIMM.ImmRegisterWord(hKL, str1, buffers[0].Style, str2);
が、
Attempted to read or write protected memory. This is often an indication that other memory has been corrupted.
を返しました。
AccessViolationException

どうすればよいのでしょうか。
str[0]="34";
str[1]="復水器34";