I'm compiling a wxWidgets (MSW) 2.4.2 application on Windows XP with VC 7.1. When the application is run on Windows 98 it tries to load a function called "SHGetFolderPathW" from Shell32.dll. This function used to reside on shfolders.dll in earlier version of Win and only got moved to Shell32.dll in later updates.
To the best of my knowledge I only use standard wx functions. Wx doesn't seem to use the function directly but it's found in the precompiled header. How do I make my code work on Win98 without compiling specifically on that platform?
Thanks and advance for your help!
Problem running on Win 98
-
- In need of some credit
- Posts: 1
- Joined: Wed Mar 16, 2005 9:32 am
- Contact:
Problem running on Win 98
Kai Backman, programmer
ShortHike Space Settlement Simulation Guild
ShortHike Space Settlement Simulation Guild
- T-Rex
- Moderator
- Posts: 1249
- Joined: Sat Oct 23, 2004 9:58 am
- Location: Zaporizhzhya, Ukraine
- Contact:
1. Check the *.lib files (minmal windows lib-files needed comctl32.lib uuid.lib rpcrt4.lib wx*.lib)
2. Try to rebuild the library under Win98
3. Try to rebuild the application under Win98
2. Try to rebuild the library under Win98
3. Try to rebuild the application under Win98
Last edited by T-Rex on Wed Mar 16, 2005 3:26 pm, edited 1 time in total.
-
- Knows some wx things
- Posts: 39
- Joined: Thu Nov 25, 2004 10:10 am
- Location: Germany
Re: Problem running on Win 98
Recompile your app + wxWidgets in ANSI mode - or use libunicows.Kai Backman wrote:When the application is run on Windows 98 it tries to load a function called "SHGetFolderPathW" from Shell32.dll.
Regards,
Mark