« Return to Thread: how to add DLL to a NB Platform Library Module

Re: how to add DLL to a NB Platform Library Module

by Radim Kubacki-2 :: Rate this Message:

Reply to Author | View in Thread

Dejan Vucinic wrote:

> Greetings,
>
> I've been trying for the past couple of days to add a native library
> to a Library Module for the NetBeans 5.5 Platform.  The situation
> seems to me like something that would be encountered often: I
> have a third-party .jar file that comes with its own .DLL for use on
> windows machines.  I can wrap the .jar in a Library Module with a
> few mouse clicks as described in the documentation, but no
> matter where I put the .DLL, regardless of adding <include ...>
> statements to common.xml, the .DLL just doesn't get found by
> the target platform.  Could anyone please explain why this is such
> a pain?  Will this get fixed in NB 6?
>
The module system looks for native libraries in modules/lib directories.
You can look at the example of extbrowser module that is part of IDE.

-Radim

> Thanks,
>
> --dv
>

 « Return to Thread: how to add DLL to a NB Platform Library Module