|
|
|
Re: JNI: Compiled succesfull, hang on execute [3/3] "StrLen.java" (1/1) [message #143764 is a reply to message #143747] |
Thu, 21 April 2005 03:35  |
Eclipse User |
|
|
|
Originally posted by: daehn.hmi.de
Matthias Becker wrote:
> No, it isnt. You can either load a library with System.loadLibrary() or with my
> version. You only have to make sure that the DLL is, where you say it should be.
> Anyway, i found out that it is a problem with the CDT Tool (or the
> gcc-Compiler). I tried to compile the DLL with MS-Visual C++ and everything
> works just fine.
> Unfortunally MS-VC is really bugy and i really dont like it!
>
> So what do i have to do to get it working with the CDT?
>
> Thanks for the reply anyway :)
>
> Matthias
Sorry, I didn't know about *this* fact.
Have you tried to compile your library with this command?:
gcc -shared -o JNI_Test_C.dll StrLen.o
this is the way i've done it.
greets
|
|
|
Powered by
FUDForum. Page generated in 0.07461 seconds