IPB

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


Senior Member
****

Group: Members
Posts: 500
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
2 Pages V  < 1 2  
Start new topic
Replies (20 - 34)
steelbytes
post Aug 27 2008, 07:15 AM
Post #21





Group: Members
Posts: 1
Joined: 27-August 08
Member No.: 207184
OS: Vista Ultimate x64
Country Flag


QUOTE (CharlotteTheHarlot @ Aug 26 2008, 06:11 PM) *
...
The discussion includes links which eventually get you to the next pertinent System Internals thread: EXEs created by VisualStudio2008 vs Win4.0. There, member steelbytes has reported some success in patching already compiled apps and also recompiling differently. He directs us to www.SteelBytes.com with specific code examples here.
...

I did get around to making a patcher for compiled code that works for me ExeVersion
it does have some current limitations - eg, only release mode without function level linking. but that's just fine for what I need :-)
Go to the top of the page
 
+Quote Post
CharlotteTheHarl...
post Aug 27 2008, 11:59 PM
Post #22


Member
**

Group: Members
Posts: 252
Joined: 24-September 07
From: Somewhere in Time
Member No.: 155939
OS: 98SE
Country Flag


@takeos, thanks for that information. I was just trying to understand these various strategies to restoring backwards compatibility to apps that have no valid reason for failing to execute under Win9x. Both you and steelbytes are clearly on the good guys team, standing against these unnecessary winds of change.

QUOTE (takeos @ Aug 26 2008, 05:40 AM) *
Would something like $29.95 (individual developer license) be too much in your opinion? Some corporate developers might not even take it seriously at that price, while for others anything more than free would be too expensive. I exchanged ideas about the possible pricing. A small price would still give customers technical support and updates, i.e. if new functions emerge, they would likely be added to the library, etc.


Price sounds reasonable to me and I wish you much success. Speaking only for myself, I have yet to get Visual Studio 2008 but have almost everything prior, and will likely not use anything beyond VS6 personally because of all the time spent tweaking the libraries, options, editors and tools. Should that change I will no doubt grab your add-in.

QUOTE (takeos @ Aug 26 2008, 05:40 AM) *
I doubt that Microsoft would be interested (as a customer), because they have demonstrated that they do not care about legacy compatibility. To the contrary, it seemed to me that they introduced or at least supported incompatibility on purpose. Do you remember how Visual Studio 2005 became incompatible with Windows 95? At the time it did not really break much. It would not have taken more than a few hours of work for Microsoft to retain compatibility by just not using certain functions. Lots of programmers had proposed solutions, patches, etc. I proposed one to Microsoft myself after I filed a bug report (I thought it was a bug!), they filed the "bug" as something like "by design" and closed the case!


Fully agree. This is certifiable planned obsolescence. I hope you are a MSDN member and figure out a way to publicize within the community. I find that the coders there, even Microsoft employees have much more sense than the suits who are making these stupid decisions.

I also hope that you can get Mark at System Internals to at least consider trying it. We can certainly survive on Win9x with older versions of AutoRuns (the startup areas are well-known), but Process Explorer is a definite loss. mad.gif IMHO, he should compile that one for both platforms. It might help if other interested Win9x users would Contact Mark Russinovich with their suggestions.

Oh, you may want to look at a very important sticky thread here Last Versions of Software for Windows 98SE, + Current Software Still Supported. You might view this is as a potential goldmine of clients, well at least those that use Visual Studio. Maybe even the FireFox problem might be of interest to you.

To avoid hijacking this thread further, I'll eventually start a new one here that completely inventories the various System Internal utilities that still work in Win9x and those that have been recently euthanized by Visual Studio 2008. That would be a good place to chronicle any successes with steelbytes patcher against the compiled files.
Go to the top of the page
 
+Quote Post
Advanced User
post Sep 2 2008, 05:44 PM
Post #23


Newbie


Group: Members
Posts: 10
Joined: 16-April 07
Member No.: 135878
Country Flag


Hi, all! If anybody need it for some reasons (i don't know for why, i made it just for fun) then i have repacked distributive of "Visual C++ 2008 Redistributable Package" (SP0) for 9x only with deinstalling ability - http://ifolder.ru/5057911 (requires KernelEx already installed!)

And i have also three unofficial packs for Visual C++ 7.x Runtimes made in accordance to vcredist.exe (VC++6.0RP)

1. http://ifolder.ru/13373894 Unofficial Visual C++ 7.0 (2002) SP1 Redistribution Pack for Windows 95-Vista
2. http://ifolder.ru/13373908 Unofficial Visual C++ 7.1 (2003) SP1 Redistribution Pack for Windows 95-Vista
3. http://ifolder.ru/13373471 Unofficial Visual C++ 7.x (200x) SP1 Redistribution Pack for Windows 95-Vista (7.0 + 7.1 in-one)

Note: installation totally quiet, without any dialogs (like in vcredist.exe) and begins right after start

Files for Visual C++ 7.x packs were taken from original releases of Visual Studio .NET 2002-2003 and from official updates for it in Microsoft Download Center (KB924642, KB927696, KB932298, KB932304).

All packs are working and tested on all specified OS's (95-Vista) but i don't give any warranties for it, use at your own risk.

Thanks for attention and sorry for my bad english. smile.gif

This post has been edited by Advanced User: Nov 17 2009, 07:38 PM
Go to the top of the page
 
+Quote Post
CharlotteTheHarl...
post Sep 4 2008, 02:26 AM
Post #24


Member
**

Group: Members
Posts: 252
Joined: 24-September 07
From: Somewhere in Time
Member No.: 155939
OS: 98SE
Country Flag


QUOTE (Advanced User @ Sep 2 2008, 07:44 PM) *
Hi, all! If anybody need it for some reasons (i don't know for why, i made it just for fun) then i have repacked distributive of "Visual C++ 2008 Redistributable Package" for 9x only with deinstalling ability - http://ifolder.ru/5057911

And i have also three unofficial packs for Visual C++ 7.x Runtimes made in accordance to vcredist.exe (VC++6.0RP)

1. http://ifolder.ru/5039486 Unofficial Visual C++ 7.0 Redistribution Pack for Windows 95-XP
2. http://ifolder.ru/5039515 Unofficial Visual C++ 7.1 Redistribution Pack for Windows 95-XP
3. http://ifolder.ru/5045898 Unofficial Visual C++ 7.x Redistribution Pack for Windows 95-XP (7.0 + 7.1 in-one)

Note: installation totally quiet, without any dialogs (like in vcredist.exe) and begins right after start

All packs are working and tested on all specified OS's (95-XP) but i don't give any warranties for it, use at your own risk.

Thanks for attention and sorry for my bad english. smile.gif


Hello Advanced User ...

Just wondering if you have a non-EXE solution (ZIP/RAR/7Z)? Alternatively, are they possibly INNO setups (which are easily extracted manually) or perhaps you inserted a: "/SWITCH" of some kind to manually extract?

I hate to run EXE setups when I know exactly where to put the files myself.

EDIT: ... dude, your English is great. Much much better than my Russian. Speaking of which, I cannot figure out how to download from those pages! Can you explain?

This post has been edited by CharlotteTheHarlot: Sep 4 2008, 02:33 AM
Go to the top of the page
 
+Quote Post
Advanced User
post Sep 4 2008, 06:48 AM
Post #25


Newbie


Group: Members
Posts: 10
Joined: 16-April 07
Member No.: 135878
Country Flag


QUOTE (CharlotteTheHarlot @ Sep 4 2008, 11:26 AM) *
I hate to run EXE setups when I know exactly where to put the files myself.

Not a problem because all files packed in cab installer and it can easily unpacked by WinRAR, but all usefulness of this packs just concluded in installing feature, so if you don't like to use setups then you don't need this packs. smile.gif
QUOTE (CharlotteTheHarlot @ Sep 4 2008, 11:26 AM) *
I cannot figure out how to download from those pages! Can you explain?

There are two variants of downloading. With viewing the advertisment and without it. Look the instruction screens for both that cases: 1, 2.
Go to the top of the page
 
+Quote Post
mikesw
post Sep 4 2008, 08:25 AM
Post #26


Advanced Member
***

Group: Members
Posts: 346
Joined: 5-October 05
Member No.: 75761
Country Flag


RetroOS: From the link you provided about kernel32.dll,

QUOTE
Is there a work-around?

Yes. My preferred workaround is the Legacy Extender library which you can link to and it will include the required functions to make the code work on Windows 9x/Me/NT4:

Legacy Extender for Visual Studio 2005/2008 (www.legacyextender.com)

You can build with Visual Studio 2008 (SP1 too) and the project will then run fine even on a vanilla Windows 95 box.

Legacy Extender is not a quick patch, it is a supported and tested solution. It is compatible with code optimization, and it recalculates the checksum when you edit the post-build version.

(Conflict of interest: I was involved in testing Legacy Extender!)

NOTE: Per the previous sentence, I just copied it here, I wasn't involved in the testing. It was the person who posted
this comment.


On a similar issue for kernel32.dll errors being generated when I try to install googletoolbar v4.0.1602.1060 IE beta
on a Win 2k Pro SP4 system. I get this error which prevents it being installed.

QUOTE
The procedure entry point WTSGetActiveConsoleSessionId could not be found in the dynamic link library
Kernel32.dll.


And also this one.

QUOTE
GoogleUpdater could not load the file ci.dll. Please reinstall GoogleUpdater to fix this issue.

Of course I'm trying to reinstall it which I can't due to these errors.



So, is my problem above due to Visual Studio 2008 not supporting Win 2K anymore? If so, then
the Google Toolbar people must being using VS 2008 although they say the toolbar can be installed
on a win 2K machine. sad.gif

This post has been edited by mikesw: Sep 4 2008, 08:30 AM
Go to the top of the page
 
+Quote Post
Tihiy
post Sep 4 2008, 09:18 AM
Post #27


god of the ancient world
******

Group: Members
Posts: 1147
Joined: 19-November 04
From: NeverSleep
Member No.: 36858
OS: none
Country Flag


QUOTE
You can build with Visual Studio 2008 (SP1 too) and the project will then run fine even on a vanilla Windows 95 box.
God ****. Show me who wrote that, i'll burn them with fire.
Go to the top of the page
 
+Quote Post
mikesw
post Sep 4 2008, 09:44 AM
Post #28


Advanced Member
***

Group: Members
Posts: 346
Joined: 5-October 05
Member No.: 75761
Country Flag


QUOTE (Tihiy @ Sep 4 2008, 11:18 AM) *
QUOTE
You can build with Visual Studio 2008 (SP1 too) and the project will then run fine even on a vanilla Windows 95 box.
God ****. Show me who wrote that, i'll burn them with fire.

http://forums.msdn.microsoft.com/en-US/vcg...4-f1a40e8a3bb3/

Go to user 'mcb' dated Aug 25,2008. It currently is the last post here.

Let the flames start burning. whistling.gif

I think he meant with www.legacyextender.com software

This post has been edited by mikesw: Sep 4 2008, 09:46 AM
Go to the top of the page
 
+Quote Post
Drugwash
post Sep 6 2008, 08:03 AM
Post #29


Friend of MSFN
*****

Group: Members
Posts: 763
Joined: 21-June 06
From: Ploiesti
Member No.: 99477
OS: 98SE
Country Flag


I believe the traffic is now restricted to Russian-only domains. sad.gif
Could you please use a non-restrictive host, such as uploaded.to, rapidshare.com or similar?
QUOTE
На данный момент иностранный трафик у этого файла превышает российский.
Go to the top of the page
 
+Quote Post
Advanced User
post Sep 6 2008, 04:57 PM
Post #30


Newbie


Group: Members
Posts: 10
Joined: 16-April 07
Member No.: 135878
Country Flag


QUOTE (Drugwash @ Sep 6 2008, 05:03 PM) *
Could you please use a non-restrictive host, such as uploaded.to, rapidshare.com or similar?

Dаmn, I have only now found out that Rapidshare has Collector's Zone service with downloads control ability. blushing.gif Then forget for instructions which i gave above, here are new rapidshare links: 2008 - 7.0 - 7.1 - 7.x

This post has been edited by Advanced User: Aug 2 2009, 02:53 PM
Go to the top of the page
 
+Quote Post
Drugwash
post Sep 7 2008, 09:03 AM
Post #31


Friend of MSFN
*****

Group: Members
Posts: 763
Joined: 21-June 06
From: Ploiesti
Member No.: 99477
OS: 98SE
Country Flag


Thanks, found some interesting things there. newwink.gif
I had already patched and repacked beta2 of VC2008 for Win9x use, last year in November but didn't mess with the msi within, which still holds a system32 folder (should be system for Win9x).
Also I'm not familiar with the [BlockProductCode] section in the original install.ini.
I see you completely overhauled the installation process; I tried a minimal-change approach. Might give it another try when I feel like.
Go to the top of the page
 
+Quote Post
celeron64
post Sep 10 2008, 04:20 AM
Post #32





Group: Members
Posts: 5
Joined: 10-September 08
Member No.: 209233
OS: XP Pro x86
Country Flag


QUOTE (takeos @ Aug 26 2008, 04:40 AM) *
QUOTE (CharlotteTheHarlot @ Aug 26 2008, 02:11 AM) *
While he/she sounds very confident in their approach, they seemed to have left out describing what if anything this will cost, and to whom?

Would something like $29.95 (individual developer license) be too much in your opinion? Some corporate developers might not even take it seriously at that price, while for others anything more than free would be too expensive. I exchanged ideas about the possible pricing. A small price would still give customers technical support and updates, i.e. if new functions emerge, they would likely be added to the library, etc.

Legacy Extender is not as vast as KernelEx. It focuses on what Visual Studio adds or breaks that the developer did not want in the first place. If the developer used some other XP-only functions on purpose, Legacy Extender will not help much. On the other hand, Legacy Extender is great if you already have a "legacy" project, and simply want to update the compiler, and you thought the only way was to run two different versions of Visual Studio.

I doubt that Microsoft would be interested (as a customer), because they have demonstrated that they do not care about legacy compatibility. To the contrary, it seemed to me that they introduced or at least supported incompatibility on purpose. Do you remember how Visual Studio 2005 became incompatible with Windows 95? At the time it did not really break much. It would not have taken more than a few hours of work for Microsoft to retain compatibility by just not using certain functions. Lots of programmers had proposed solutions, patches, etc. I proposed one to Microsoft myself after I filed a bug report (I thought it was a bug!), they filed the "bug" as something like "by design" and closed the case!

As for whether it works or not, it's currently being tested in public. Anyone can access it. You are free to decide for yourself, provide feedback, etc.

Just my two cents!

yes
Go to the top of the page
 
+Quote Post
Advanced User
post Apr 28 2009, 05:40 AM
Post #33


Newbie


Group: Members
Posts: 10
Joined: 16-April 07
Member No.: 135878
Country Flag


Visual C++ 7.x Packs were updated according to KB954885 and VS .NET 2002 SP1. List of updated files include:

ATL71A.DLL 7.10.3077.0 -> 7.10.6088.0
ATL71U.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71CHS.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71CHT.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71DEU.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71ENU.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71ESP.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71FRA.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71ITA.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71JPN.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71KOR.DLL 7.10.6041.0 -> 7.10.6088.0
MFC71U.DLL 7.10.6041.0 -> 7.10.6088.0
MSVCI70.DLL 7.0.9466.0 -> 7.0.9955.0

Look for new links in previous posts (#23 and #30).

This post has been edited by Advanced User: Nov 17 2009, 05:53 PM
Go to the top of the page
 
+Quote Post
Advanced User
post Aug 2 2009, 03:02 PM
Post #34


Newbie


Group: Members
Posts: 10
Joined: 16-April 07
Member No.: 135878
Country Flag


Visual C++ 7.x Packs were updated according to KB971089. List of updated files include:

ATL71A.DLL 7.10.6088.0 -> 7.10.6101.0
ATL71U.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71CHS.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71CHT.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71DEU.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71ENU.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71ESP.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71FRA.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71ITA.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71JPN.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71KOR.DLL 7.10.6088.0 -> 7.10.6101.0
MFC71U.DLL 7.10.6088.0 -> 7.10.6101.0

Look for new links in previous posts (#23 and #30).

This post has been edited by Advanced User: Nov 17 2009, 05:54 PM
Go to the top of the page
 
+Quote Post
Offler
post Aug 13 2009, 04:15 AM
Post #35


Advanced Member
***

Group: Members
Posts: 482
Joined: 29-October 06
From: Bratislava
Member No.: 114267
OS: 98SE
Country Flag


few months ago i unpacked msvcr2008 with any extracting program (twice, or three times). later with Kernel EX 0.3.6 i executed the setup and copied the extracted files to system32 directory. After tests with some applications for visual studio 2008 i considered this manually installed package as fully working on windows 98 SE with newest KernelEX. i just had no time to make tutorial for this biggrin.gif
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

2 Pages V  < 1 2
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: 24th November 2009 - 03:40 PM
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