Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

@CVS Binary builders

(1/4) > >>

Revy:
Hi,

your binaries do not work under windows98.
Error is: Missing Export Shell32.dll:SHGetFolderPathA

RC02 did run fine on W98.

Greetrings
Revy

thomas:
If you get that error, then you are using Internet Explorer 4.

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.

Der Meister:
The msdn-page for this function says the following:

--- Quote ---Minimum operating systems
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)
--- End quote ---
That 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).

takeshimiya:
All of that is simply not true.

"Now, the MSDN help says that the SHELL32.dll is new enough if you have IE5 or higher, but I just got the discussed error on a machine with Win98SE and IE6 and, lo and behold, the shell32.dll is version 4.72.somethingorother. Which means that programs using SHGetFolderPathA are not guaranteed to run with Win98 and, Win NT.
"

"I've done some checking and found that SHGetFolderPath
is found in shell32.dll under Windows 2000, but under
Windows 98/NT its found in shfolder.dll"


This seems to be a rather common problem, here's the way Subversion solves it:

"I strongly suggest *not* including shfolder.dll file in your installer.
Instead, bundle its installer (the URL is in INSTALL), and run it if
you're not on Win2k or newer, so that you don't have to implement all
the extra installation magic.

And ask the user first, and show that URL, so that people can decide to
download and install their own copy directly from Microsoft. "

Here's the message in html to put in the Inno Setup:
http://svn.collab.net/viewcvs/svn/trunk/packages/windows-innosetup/missing_shfolderdll.html?rev=14181&view=markup

Here's the Inno Setup script:
http://svn.collab.net/viewcvs/svn/trunk/packages/windows-innosetup/is_main.pas?view=markup

Here's the Inno Setup file:
http://svn.collab.net/viewcvs/svn/trunk/packages/windows-innosetup/svn.iss?view=markup

Revy:

--- Quote from: thomas on November 22, 2005, 12:17:05 pm ---If you get that error, then you are using Internet Explorer 4.

--- End quote ---
Do you know Firefox? ;-)


--- Quote from: thomas on November 22, 2005, 12:17:05 pm ---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.

--- End quote ---

IE4 should not be the problem, because my system is patched with all possible patches for IE6 and has installed IE6 of course.

Also you should have noticed, that I wrote "RC02 did run fine on W98"  :?

Greetings
Revy

Navigation

[0] Message Index

[#] Next page

Go to full version