[email protected] wrote:
> Hi All,
> i've a dll say xxx.dll which is wrapped by generator produced code 
> located in com_xxx_wrapper.dll (which depends on xxx.dll) . 
> A qtjambi 
> application makes use native code in xxx.dll. 
> I want to deploy in a single jar 
> file my application so i used the "deployment spec" way 
> taking as reference 
> the way generator-example is built.
> When i run java -jar myapp.jar all the bin 
> directory (containing xxx.dll, com_xxx_wrapper.dll, qtjambi.dll and all qt 
> lib 
> i use) are copied 
> in the temporary dir but when com_xxx_wrapper.dll is loaded  
> NativeLibrayManager.loadNativeLibrary  tells: Can't find dependent libraries.
> 
> After some investigation i noticed that if put in the system path xxx.dll , 
> everything works. So it seems that when com_xx_wrapper.dll is loaded 
> xxx.dll 
> is not on the correct path (absolutely xxx.dll and other dlls are on the temp 
> dir) . 
> How can i have xxx.dll loaded in the temp directory too ?

There is no reason why this shouldn't work, so I would have to see your 
.jar and deployent-spec to know why it fails.

best regards,
Gunnar
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to