Re: Tree structure for a win32 application deployment

make a simple your_app.exe in root dir
then just use winAPI LoadLibrary("gtk/bin/your_app.dll")
then load your_main() function in your_app.dll

2012/2/10 Manuel Ferrero <mferrero reer it>
J. Ali Harlow:

How can I let my application know that the dlls are in a subdirectory?

Setting PATH would work, or (assuming your app isn't intended to be run
from the command line) you could use AppPaths:

I don' twant to mess with the system environment PATH variable because I learned that's not the right way to work with GTK.
I tried AppPaths, but it either I'm not able to make it work or it's not working at all (quite sure it's the first one)

Manuel Ferrero
R&D department

Reer SpA        
Tel.  +39 011 2482215
Fax. +39 011 859867

L'utilizzo non autorizzato del presente messaggio e' vietato e potrebbe costituire reato.
Se il presente messaggio non e' a Lei indirizzato, il suo contenuto non deve essere considerato
come trasmesso o autorizzato dalla Reer SpA; in tale caso Le saremmo grati se, via e-mail,
ce ne comunicasse l'errata ricezione.

The unauthorized use of this e-mail is prohibited and could constitute an offence.
If you are not the intended recipient of this message its contents shall be understood as neither
given nor endorsed by Reer SpA. Please notify Reer SpA by e-mail immediately in that case.

gtk-list mailing list
gtk-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]