5 messages in net.java.dev.jna.usersRe: [jna-users] Release works, Debug ...
FromSent OnAttachments
Michael WhiteOct 5, 2008 12:27 am 
Timothy WallOct 5, 2008 6:17 am 
LYou...@gkservices.comOct 6, 2008 8:26 am 
Timothy WallOct 6, 2008 8:36 am 
Michael WhiteOct 9, 2008 12:36 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] Release works, Debug gives UnsatisfiedLinkError for library nameActions...
From:Michael White (sfcl@yahoo.com)
Date:Oct 9, 2008 12:36:05 am
List:net.java.dev.jna.users

Thanks. That was the problem. Needed debug versions of MSVC DLLs on the machine
upon which I was trying to do the test (different than the one on which I was
doing developement).

--- On Sun, 10/5/08, Timothy Wall <twal@dev.java.net> wrote:

From: Timothy Wall <twal@dev.java.net> Subject: Re: [jna-users] Release works, Debug gives UnsatisfiedLinkError for
library name To: use@jna.dev.java.net Date: Sunday, October 5, 2008, 6:17 AM On Oct 5, 2008, at 3:28 AM, Michael White wrote:

Hi,

I'm trying to use TRACE statements inside of my Windows DLL, which have no effect in a VC++ Release version, but work fine in VC++ Debug version.

My problem is that JNA works as expected against the Release version but gives UnsatisfiedLinkError for my library name against the Debug version.

Do you have dependent libraries? What does depends.exe say about both release and debug versions?

In both cases the DLL is named the same, located in the same place (i.e. replace release version with debug version) and I'm using the same library name string to access it.

Is there something I need to do to make the Debug version work with JNA?