DLL file permissions causes not working

Paco Barrera <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAFS-qL=7voXiAniUdO=5jqZd5P629qXoXOHOOwpo30R6m5Zzfg@mail.gmail.com>
I use a dll in my Netbeans Desktop Application, loading it from
*/release/modules/lib* path in the module that uses it with the
instruction Native.loadLibrary(dllName,
dllClass.class);.

From the IDE all works fine, but when the application is installed, the dll
doesn't works. Making some tests I probe that changing the dll file
permissions to adding it write permission, makes that the dll working fine
(dll file in the installed application). Also, executing the application
with admin permissions works fine.

The target operating system is Windows (I've tested in win 7 and 10) and
the install path is in c:\program files(x86).

The question is if there is a way to make from the Netbeans IDE that this
dll file has this write persmission when deployed.

Thanks in advance.
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.