9 messages in net.java.dev.jna.usersRe: [jna-users] Urgent Help Required
FromSent OnAttachments
Muhammad NoorMay 31, 2009 11:04 pm 
Timothy WallJun 1, 2009 3:34 am 
Felipe Armoni, felipe.armoniJun 1, 2009 4:59 am 
Muhammad NoorJun 1, 2009 5:56 am 
Timothy WallJun 1, 2009 6:10 am 
Felipe Armoni, felipe.armoniJun 1, 2009 9:50 am 
Muhammad NoorJun 1, 2009 7:40 pm 
Muhammad NoorJun 2, 2009 11:50 pm 
Jorge Nieto-MadridJun 3, 2009 4:33 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] Urgent Help RequiredActions...
From:Muhammad Noor (muha@raseen.ae)
Date:Jun 1, 2009 7:40:44 pm
List:net.java.dev.jna.users

Hi Felipe,

How can I create a release version DLL in VS 2008?

On 6/1/09, Felipe Armoni, felipe.armoni <farm@itautec.com> wrote:

I know this is stupid, but are you building your dll as a release version or as a debug version? I had several problems with this in the past, and even though this is a small anoying thing, it still can cause quite a lot of trouble sometimes.

-----Mensagem original----- De: Timothy Wall [mailto:twal@dev.java.net <twal@dev.java.net>] Enviada em: segunda-feira, 1 de junho de 2009 10:11 Para: use@jna.dev.java.net Assunto: Re: [jna-users] Urgent Help Required

Is the absolute path to your custom DLL (USSDJavaWrapper) the same on all machines, and is it included in jna.library.path or java.library.path?

On Jun 1, 2009, at 8:56 AM, Muhammad Noor wrote:

Hi,

I have installed Microsoft Visual C++ 2008 Redistributable Package on my friends PC but still same results. Moreover i have placed four DLL files msvcr90d.dll,msvcm90d.dll,msjava.dll and msvcp90d.dll identified by dependecy walker in the same folder where my DLL is located but helpless.

One more thing later on i have installed VS 2008 on the machine and the problem has vanished but this is not the right solution. Kindly Help i have to deploy my application on production server.

On Mon, Jun 1, 2009 at 4:59 PM, Felipe Armoni, felipe.armoni <farm@itautec.com

wrote:

Hi Muhammad,

Did you try to install the Microsoft Visual C++ 2008 Redistributable Package (http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e0 3-4391-8a4d-074b9f2bc1bf&displaylang=en ) on your friend's machine prior to running your program?

Regards, Felipe

-----Mensagem original----- De: Timothy Wall [mailto:twal@dev.java.net <twal@dev.java.net>] Enviada em: segunda-feira, 1 de junho de 2009 07:34 Para: use@jna.dev.java.net Assunto: Re: [jna-users] Urgent Help Required

Run depends.exe on the failing machine and it will indicate what DLL is missing, which is probably the msvcrt dll included with VS 2008.

On Jun 1, 2009, at 2:04 AM, Muhammad Noor wrote:

Hi,

I am facing a strange problem. My problem is that I have created a Java project on my machine in which i have called a DLL file's functions that works fine on my machine. but when i ported my project to my colleague's machine i started recieving following exception. Moreover we both have same operating system (Windows XP) installed. Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'USSDJavaWrapper': The specified module could not be found.

My DLL includes some VC++ Annotations like DLLImport and many others for this reason i thought that my DLL cannot find its dependent libraries.

I have even installed Microsoft .Net 3.5 framework on the machine but helpless. After a while i have test my project on an other machine and it worked fine. The common thing between my machine and third machine is that they both have VS 2008 installed on them where my colleague's machine doesn't.

Can anybody tell me (as early as prossible) how can i get rid of that problem.

Advance Thanx,

Regards,