Minimum operating systemsThat means, it should also work on Win9x if you install the Internet Explorer 5.0 or any newer version (and that should be no problem).
Windows 95 with Internet Explorer 5.0, Windows 98 with Internet Explorer 5.0, Windows 98 Second Edition (SE), Windows NT 4.0 with Internet Explorer 5.0, Windows NT 4.0 with Service Pack 4 (SP4)
If you get that error, then you are using Internet Explorer 4.Do you know Firefox? ;-)
SHGetFolderPath works with every reasonable Windows system.
That is anything newer than Windows 98 or Windows 95 and up with Internet Explorer 5 or newer.
The msdn-page for this function says the following:QuoteMinimum operating systemsThat means, it should also work on Win9x if you install the Internet Explorer 5.0 or any newer version (and that should be no problem).
Windows 95 with Internet Explorer 5.0, Windows 98 with Internet Explorer 5.0, Windows 98 Second Edition (SE), Windows NT 4.0 with Internet Explorer 5.0, Windows NT 4.0 with Service Pack 4 (SP4)
Remarks
This function is a superset of SHGetSpecialFolderPath, included with earlier versions of the Shell. On systems preceeding those including Shell32.dll version 5.0 (Windows Millennium Edition (Windows Me) and Windows 2000), SHGetFolderPath was obtained through SHFolder.dll, distributed with Microsoft Internet Explorer 4.0 and later versions. SHFolder.dll always calls the current platform's version of this function. If that fails, it will try to simulate the appropriate behavior. SHFolder.dll continues to be included for backward compatibility, though the function is now implemented in Shell32.dll.
Note On older systems that require the redistributable SHFolder.dll, you must explicitly link to SHFolder.lib before you link to Shell32.lib.
Do you know Firefox? ;-)Yes, but Firefox does not matter at all. What matters is Internet Explorer because it is a part of Windows.
Also you should have noticed, that I wrote "RC02 did run fine on W98" :?Yes indeed, but I ignored that point because it makes no sense. RC2 is the most recent binary release. So what non-working binary release do you refer to, if RC2 is fine?
QuoteAlso you should have noticed, that I wrote "RC02 did run fine on W98" :?Yes indeed, but I ignored that point because it makes no sense. RC2 is the most recent binary release. So what non-working binary release do you refer to, if RC2 is fine?
Ah, that slipped through my sight ;)
Do you know Firefox? ;-)Yes, but Firefox does not matter at all. What matters is Internet Explorer because it is a part of Windows.
It is of course always a problem to tell what is wrong especially on Windows systems where each and every program you install replaces a couple of dlls without telling you, and even Microsoft does not seem to know what is right sometimes.
All I can say is that two of us test on pristine installs of Windows98 systems with IE6, and it works. Maybe downloading a fresh copy of that dll will fix the problem.
QuoteAlso you should have noticed, that I wrote "RC02 did run fine on W98" :?Yes indeed, but I ignored that point because it makes no sense. RC2 is the most recent binary release. So what non-working binary release do you refer to, if RC2 is fine?
I wonder if that function is needed by the trojans...Yes, sorry - what did you say? :lol:
Oh, sorry, were you reading?
We'd need to compare the build environments for RC2 and the CVS snapshots. All I can say is I'm using the latest available stuff from MinGW and building wx with MSys.
Just like I said in another post: ~good to see there's a solution for it.
#include <windows.h>
#include <shfolder.h>
PFNSHGETFOLDERPATHA GetFuncPtr_SHGetFolderPathA()
{
static HMODULE hMod = NULL;
PFNSHGETFOLDERPATHA pSHGetFolderPath = NULL;
// Load SHFolder.dll only once
if (!hMod)
hMod = LoadLibrary("SHFolder.dll");
if (hMod)
// Obtain a pointer to the SHGetFolderPathA function
pSHGetFolderPath = (PFNSHGETFOLDERPATHA)GetProcAddress(hMod,
"SHGetFolderPathA");
return pSHGetFolderPath;
}
This issue still has not been resolved in any of the latest snapshots as of today. :( Is any solution in the works? Unfortunately, I'm stuck on a Win98SE computer, so I'm waiting here with bated breath...