NoClassDefFoundError

roy <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <LISTSERV%[email protected]>
I am tyring to get a Java application to interact with a .DLL using Jawin
1.0.19.  I have created the Stub java files and everything complies
correctly. However when I run the java program I get the following error

java.lang.NoClassDefFoundError: org/jawin/DispatchPtr

I have set the class path to the correct directory that contains the
jawin.dll file.  I even copied the jawin.dll file and the jawin.jar file
into the directory with the application and also to the windows\system32.
The app still can not seem to find the file.   Is there anything else that I
should try.  I am using java SDK 1.5.0_02.  I am sure there is something
simple that I am missing but if anyone could point it out that would be great.

Thanks

Roy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.