ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > fSekrit

Beta: fSekrit 1.40 needs some abuse!

<< < (7/8) > >>

f0dder:
Stoic Joker: I dunno if it's "just" a problem like that, though - I'll have to figure out what the last NT4/Win9x working version of fSekrit is, and look at which changes have been made... I don't think there's been big changes to the APIs I use, but the compiler has been upgraded a few times, and that is at least part of the reason for failing (setting newer subsystem version and some other info).

f0dder:
OK, finally got around to installing Win98 and NT4 virtual machines... took a while to hunt down NT4-SP6a and IE6, but at least now I can do some testing. VS2008 EDITBIN.EXE won't let me set a subsystem version lower than 5.0, so I have to use a hexeditor to do that, joy joy.

I can reproduce your findings, Stoic Joker: works on NT4 (except for the save/open dialog boxes), and starts (but hangs somewhere) on win98. Exciting. I did a couple of tests, and the last version that works on Win98 is 1.3. Version 1.35 has the wrong osversion and hangs when hacked... so let's see what changed from 1.3 to 1.35. My guess is upgrading visual studio :)

EDIT: yup, seems to be a combination of upgrading Visual Studio and the PlatformSDK... the PSDK needed WINVER, _WIN32_WINDOWS and _WIN32_WINNT defined to 4.0 (probably the WINNT define that's most important, wouldn't be surprised if recent PSDK versions disregard the Win9x symbols entirely), and along with setting osversion stuff now seems to work on NT4 again.

Win9x is another story, and this is where the VS2008 upgrade comes in... Win98 gets stuck in some weird GetModuleHandleW/test-for-zero/Sleep(4000) loop, which must be from the libc startup routines. So, to get Win9x support back, I'll have to build with something else... I'm not going to have VS2005 and VS2008 side-by-side, but thankfully I still have a version of the vc2003toolkit before Microsoft pulled it offline (foo! shame on you!), which I could integrate with the SCons build scripts... I know that it's libc runtime works with Win9x, so as long as it plays nicely with the more up-to-date PSDK, it should work out in the end.

But one thing is for sure: for other projects than fSekrit, I doubt I'll support anything older than Windows 2000.

Stoic Joker:
VS2008 EDITBIN.EXE won't let me set a subsystem version lower than 5.0, so I have to use a hexeditor to do that, joy joy.
-f0dder (November 23, 2009, 04:49 PM)
--- End quote ---
Damn, I knew there was a reason I never got arround to upgrading. I've got a little networking widget that I use for getting a remote system to keep me up to date in its IP (Client/Server type thing) it (is GUI) was compiled with MSVS2005 (with latest service packs) and ran just fine on NT4 (it doesn't have file dialogs). My (connection stressing) ping utility (is CLI) also ran just fine on NT4.

I don't recall ever using anything but the default subsystem ver (not sure where to look for it)  so I can't comment on that. But, I did some polking arround in some old code samples and found what (i think) I remember being the issue with the 9x stuff.

This is from antique (16bit) project: of.Flags  = OFN_HIDEREADONLY|OFN_FILEMUSTEXIST;
This is the retro standard open file flags selection (from the MS MultiPad.c code demo).

This is from current project: ofn.Flags = OFN_EXPLORER|OFN_ENABLEHOOK|OFN_DONTADDTORECENT;
The 3 common options used above, will confuse the crap out of the legacy OSs

f0dder:
(See edit to previous post).

I've used the following since 1.3, which worked fine on Win9x and NT4:

--- ---ofn.Flags = OFN_CREATEPROMPT | OFN_HIDEREADONLY | OFN_PATHMUSTEXIST | OFN_NOCHANGEDIR;
You can't set subsystem version in linker options in the IDE as far as I can tell, so it has to be done commandline with EDITBIN - pretty lame they put limitations on what you can put there, but you can either use a hex editor or grab an EDITBIN from an older VS.

I did a little Googling on vs2008+win9x, seems like it's official that vs2005 is the last version with Win9x support (didn't find an official MS statement on it, but whatever :)).

Stoic Joker:
but you can either use a hex editor or grab an EDITBIN from an older VS.
-f0dder (November 23, 2009, 05:45 PM)
--- End quote ---
I can send you my 05 if you like.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version