Export dll [message #481482] |
Fri, 21 August 2009 08:15 |
|
hey all,
i have a RCP application and want to call a C library (myLib.dll) from
eclipse via JNA (Note that this JNA and not JNI).
I have my library at "c:\myLibraries" everything works fine when i add the
VM argument "-Djna.library.path=c:\myLibraries"
The problem is that i dont wanna have an absolute path in the parameters.
Can somebody tell me how i can export my .dll to the Main application
folder (The folder where also my .exe file is) and do the correct path
settings then?
Thanks alot
Thomas
|
|
|
Re: Export dll [message #481484 is a reply to message #481482] |
Fri, 21 August 2009 08:30 |
|
Ok i think i found a solution, just had to copy the dll to my root folder.
I found a post here where they said that exporting files to the root
folder only works when my product is based on features, is this correct?
or is there another way?
Thanks alot
|
|
|
|
Powered by
FUDForum. Page generated in 0.03084 seconds