Problem with JAVA invoking API function from DLL

How to simply invoke any API funcion from DLL (Windows)

Only I receive is : ERROR: xxxxxxxx.dll is not in java.library.path

Thanks for any ideas

This link explains how to set java.library.path.

[url=“InOnIt.com: Tell the Java VM to Load the DLL”]http://www.inonit.com/cygwin/jni/helloWorld/load.html[/url]

If you call dll from webMethods service you’ll need to alter java.exe parameters according to it.
I never used JNI from within of webMethods but I can’t see any reason why it would not work.

How about just dropping the DLL in your package’s /code/libs directory and generating a C service using the Developer New Wizard (it requires a predefined service Specification, but otherwise seems straightforward).

HTH,
Fred