JLink and Toolkit DLLs
Hi folks,
I have a Problem with my J-Link Tool. I load in my J-Link Tool a Pro/Toolkit DLL. With following command:
...
Dll loadedDll = session.LoadProToolkitDll("MP_DLL", dllPath+dllName, dllPath, true);
Object retobj = loadedDll.ExecuteFunction(fktName, inputs);
retObj.GetOutputArguments();
...
Everything works fine for 10 till 12 steps and then I've get this Error:
Invalid wide string: failed to convert to multibyte
The failure seems to occure in the ExecuteFunction line.
After this Error my Java UI is closed and I get a return value of -1. But I can't catch these failure. I don't know what I should do ... had anyone an idea ?
First I think it would be a time problem, but there seem to be no time problem (I've build in timeouts with 1 second) no more or less parts would be processed.
I've tested it in Creo 2.0 and Creo Elements 5.0 on 64bit. Other commands works like a charme.
Best regards,
Eike
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

