FS#5522 - false bind to SHGetFolderPathA on win98. Program does not start.

Attached to Project: OpenTTD
Opened by tom (tts) - Friday, 05 April 2013, 21:16 GMT
Last edited by Michael Lutz (michi_cc) - Saturday, 06 April 2013, 18:37 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Windows
Severity Critical
Priority Normal
Reported Version 1.3.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


possible description -
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.
possible solution -
instruct project linker to accept shfolder before shell32
This task depends upon

Closed by  Michael Lutz (michi_cc)
Saturday, 06 April 2013, 18:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r25153.