8 messages in net.java.dev.jna.usersRE: [jna-users] call to a native Win3...
FromSent OnAttachments
lemmel lemmelJun 3, 2009 8:09 am 
Timothy WallJun 3, 2009 9:02 am 
lemmel lemmelJun 4, 2009 2:10 am 
Timothy WallJun 4, 2009 3:30 am 
lemmel lemmelJun 4, 2009 6:04 am 
lemmel lemmelJun 5, 2009 1:34 am 
lemmel lemmelJun 5, 2009 1:55 am 
lemmelJun 8, 2009 6:26 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [jna-users] call to a native Win32 function behave randomlyActions...
From:lemmel lemmel (lem_@hotmail.com)
Date:Jun 5, 2009 1:34:03 am
List:net.java.dev.jna.users

Well, there are different, so I'll try to build jnidispatch.dll with Visual
Studio 2008SP1 and I will see.

I have some difficulties to build the library because of linking dependencies :

From: lem_@hotmail.com To: use@jna.dev.java.net Date: Thu, 4 Jun 2009 13:05:05 +0000 Subject: RE: [jna-users] call to a native Win32 function behave randomly

Someone else had some difficulty with using different versions of MSVCRT. Vanilla jnidispatch.dll is built against msvcrt.dll, which is probably not what you want, although I don't know why command-line versus webstart would affect whether it works or not. Use depends.exe on jnidispatch.dll to see whether it refers to the MSVCRT that you want.

Check java.library.path in the two instances (cmd vs webstart). I bet it's different. You'll need to track down what else is different between the two launch scenarios.

P.S. : the

----------> Web Start C:\Program Files\Java\jre6\bin ;. ;C:\WINDOWS\Sun\Java\bin ;C:\WINDOWS\system32 ;C:\WINDOWS ;C:\Program Files\Java\jre6\bin ;C:\Program Files\Internet Explorer ; ;C:\WINDOWS\system32 ;C:\WINDOWS ;C:\WINDOWS\System32\Wbem ;"C:\Program Files\Java\jre6\bin"

----------> Command Line C:\WINDOWS\system32 ;. ;C:\WINDOWS\Sun\Java\bin ;C:\WINDOWS\system32 ;C:\WINDOWS ;C:\WINDOWS\system32 ;C:\WINDOWS ;C:\WINDOWS\System32\Wbem

Votre correspondant a choisi Hotmail et profite d'un stockage quasiment
illimité. Créez un compte Hotmail gratuitement !

_________________________________________________________________ Découvrez toutes les possibilités de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx