Hi,

I'm trying to connect from Java to Skype to send SMS'es.
I downloaded the skype project, imported it into eclipse, all of the samples seem to work.

I created the skype_win32.jar file using the Ant build file. I added this to my project, and put JNIConnector.dll in the library path. In my project the code hangs on this:

CODE
// Loading DLL
        try {
            System.loadLibrary("JNIConnector");
        } catch (Throwable e) {
            if (!ConnectorUtils.checkLibraryInPath(LIBFILENAME)) {
                ConnectorUtils.extractFromJarToTemp(LIBFILENAME);
                String tmpDir = System.getProperty("java.io.tmpdir");
                if (! tmpDir.endsWith(""+File.separatorChar)) {
                    tmpDir = tmpDir+File.separatorChar;
                }
                System.load(tmpDir+LIBFILENAME);
            }
        }

in Win32Connector (line 83).

It either hangs on System.loadLibrary if the dll is on the path, if I remove it, it hangs on the System.load instruction.

I have no clue how to debug this. I'm calling Skype.sendSMS(...) from a worker thread in my code.

Any help very much appreciated.