IPB

Google Frontpage Forums Unattended CD/DVD Guide
> Visual Studio 2008 and Windows 9x
RetroOS
post Feb 8 2008, 03:53 AM
Post #1


Advanced Member
***

Group: Members
Posts: 499
Joined: 26-June 07
Member No.: 144486
OS: 98SE
Country Flag


Microsoft Visual Studio 2008 was released late last year.
According to http://msdn2.microsoft.com/en-us/library/bb531344.aspx, Windows 9x is no longer a supported target platform:

The Windows 95, Windows 98, Windows ME, and Windows NT platforms are no longer supported. These operating systems have been removed from the list of targeted platforms.

The typical message upon running a VS2008 compiled application that uses 0x0500 in the WINVER macro is:
(For more information on WINVER macro see: http://msdn2.microsoft.com/en-us/library/aa383745.aspx)

Error Starting Program
The [full path of executable] file
expects a newer version of Windows.
Upgrade your Windows version.


Following this is:

[full path of executable]

A device attached to the system is not functioning.


This second information box would appear without the first if WINVER macro was still 0x0400 in a re-compiled source.
Either way, it no gonna run...

One person has determined that the Win32 API call GetSystemWindowsDirectoryW in KERNEL32.DLL was being referred to even with a simple application. See http://forums.microsoft.com/MSDN/ShowPost....93&SiteID=1

Maybe this is where a KernelEx solution could be useful.

This spells the end of new software for Windows 9x since most software developer for the Windows platform code in Microsoft C++ under Microsoft Visual Studio.
Windows APIs are taylored for C++ calling conventions and data types.
I personally code entirely using Microsoft Macro Assembler (MASM) which supports high level syntax and C++ conventions.
Contrary to popular belief, MASM is not just for writing modules to plug into C++.
It can be used to write an entire PE EXE, DLL, and so on. See here for more information: http://www.masm32.com
MASM version 8.00 that comes with Visual Studio 2005 still supports Windows 9x.

Has anyone looked into this problem?
Go to the top of the page
 
+Quote Post

Posts in this topic
- RetroOS   Visual Studio 2008 and Windows 9x   Feb 8 2008, 03:53 AM
- - BenoitRen   Visual Studio 2005 was already the end for targeti...   Feb 10 2008, 10:16 AM
|- - RetroOS   QUOTE (BenoitRen @ Feb 11 2008, 05:16 AM)...   Feb 10 2008, 04:20 PM
- - BenoitRen   QUOTE The problem with VS2008 is that you cannot j...   Feb 10 2008, 06:17 PM
- - RetroOS   Maybe then, this topic should be called Visual Stu...   Feb 10 2008, 07:29 PM
- - Xeno86   QUOTE Has anyone looked into this problem?Can anyo...   Feb 18 2008, 03:04 PM
- - RetroOS   Hey Xeno86, It's great to see you around! ...   Feb 18 2008, 07:04 PM
- - jerichar99   I ran into a similar problem. See my post at VS 2...   Apr 7 2008, 03:45 PM
|- - modicr   Hello! QUOTE (jerichar99 @ Apr 7 2008, 1...   Apr 8 2008, 11:38 AM
|- - dencorso   QUOTE (modicr @ Apr 8 2008, 03:38 PM) Hel...   Apr 8 2008, 09:00 PM
- - dencorso   So, then, you've found another example of a do...   Apr 7 2008, 07:01 PM
- - aLeXis   Would be nice if someone could make a patcher to ...   Apr 8 2008, 02:08 PM
|- - takeos   QUOTE (aLeXis @ Apr 8 2008, 02:08 PM) Wou...   Aug 25 2008, 06:21 PM
- - Offler   i have to learn C++ for my next job so i tried to ...   Apr 24 2008, 03:54 AM
|- - dencorso   QUOTE (Offler @ Apr 24 2008, 07:54 AM) i ...   Apr 29 2008, 11:00 AM
- - Mijzelf   What about Dev-C++?   Apr 24 2008, 04:03 AM
- - Offler   thx. i will try it but i just wanted to post some...   Apr 24 2008, 04:11 AM
- - BenoitRen   It would be great if they could release the source...   Aug 25 2008, 07:57 PM
- - CharlotteTheHarlot   Seeing that this thread has been revived, now is a...   Aug 26 2008, 02:11 AM
|- - takeos   QUOTE (CharlotteTheHarlot @ Aug 26 2008, 02...   Aug 26 2008, 03:40 AM
||- - CharlotteTheHarlot   @takeos, thanks for that information. I was just t...   Aug 27 2008, 11:59 PM
||- - celeron64   QUOTE (takeos @ Aug 26 2008, 04:40 AM) QU...   Sep 10 2008, 04:20 AM
|- - steelbytes   QUOTE (CharlotteTheHarlot @ Aug 26 2008, 06...   Aug 27 2008, 07:15 AM
- - Advanced User   Hi, all! If anybody need it for some reasons (...   Sep 2 2008, 05:44 PM
|- - CharlotteTheHarlot   QUOTE (Advanced User @ Sep 2 2008, 07:44 ...   Sep 4 2008, 02:26 AM
|- - Advanced User   QUOTE (CharlotteTheHarlot @ Sep 4 2008, 11...   Sep 4 2008, 06:48 AM
- - mikesw   RetroOS: From the link you provided about kernel32...   Sep 4 2008, 08:25 AM
- - Tihiy   QUOTE You can build with Visual Studio 2008 (SP1 t...   Sep 4 2008, 09:18 AM
|- - mikesw   QUOTE (Tihiy @ Sep 4 2008, 11:18 AM) QUOT...   Sep 4 2008, 09:44 AM
- - Drugwash   I believe the traffic is now restricted to Russian...   Sep 6 2008, 08:03 AM
|- - Advanced User   QUOTE (Drugwash @ Sep 6 2008, 05:03 PM) C...   Sep 6 2008, 04:57 PM
- - Drugwash   Thanks, found some interesting things there. I ha...   Sep 7 2008, 09:03 AM
- - Advanced User   Visual C++ 7.x Packs were updated according to KB9...   Apr 28 2009, 05:40 AM
- - Advanced User   Visual C++ 7.x Packs were updated according to KB9...   Aug 2 2009, 03:02 PM
- - Offler   few months ago i unpacked msvcr2008 with any extra...   Aug 13 2009, 04:15 AM


Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 22nd November 2009 - 09:54 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy