Starting from registry -> files are not found (MSW)

chris elliott biol75 at york.ac.uk
Thu Sep 6 08:43:43 PDT 2007


try wxStandardPaths, so that you get the files on any platform

http://biolpc22.york.ac.uk/wx/docs/html/wx/wx_wxstandardpaths.html#wxstandardpaths

chris

Chris wrote:
> Hi,
> 
> under MSW my program loads several files (bitmaps and settings files)
> at startup. These live in the same directory as the program itself.
> When I start the program directly (double click the exe), everything
> works fine. Creating a shortcut works fine, too. Using Start->Run,
> works as well.
> But when I put the program into the autorun path in the registry, the
> files are not found.
> Loading the files is done just with the filename and no path part. The
> registry path I use is: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
> \CurrentVersion\Run.
> 
> Any thoughts on how to fix this?
> Regards,
> Chris
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 




More information about the wx-users mailing list