In windows environment path is set to executable path. it seems that there is
no libpng.dll found in my system so the images dont load, [anyway i am not
going to check whether the pixmap has loaded or not]
and GetModuleFileName() alone is enough to get the executable path.
thank you Lillqvist
Yogesh M writes:
> I am using Gtk in windows(as well as linux). I want to set the
> environment path to executable path so i can load icons present in
> the executable path. I will be happy if it works both on linux and
> windows.
On Linux, do a readlink on /proc/self/exe (if it exists), and
g
I am using Gtk in windows(as well as linux). I want to set the environment path
to executable path so i can load icons present in the executable path. I will
be happy if it works both on linux and windows.
__
Do You Yahoo!?
Tired of spam? Yahoo! M