C ++ program compatible with Windows 95

I made a mistake believing that the C ++ program that I encoded using VS 2012 would work on a computer running Windows 95.

Now I know why this does not work. So I looked at other free compilers, such as Dev-C ++ 5, but after going through the forum on the Dev-C ++ website, it seems that it also cannot be used for applications compatible with Windows 95.

So my question is: what should I use to compile my C ++ application so that it works on Windows 95 and all other windows versions 95 through 8?

Edit: after a suitable answer.

I do not mind creating another .exe for different versions of Windows.

Edit: The problem is resolved!

Thanks to everyone who helps in this discussion.

Using MingW and code blocks, it took me only 20 minutes to adapt the code to Win 95 friendly libraries ... and a full day to install Win 95 in VM lol.

+5
source share
2 answers

First, why is Windows 95? Well, anyway, you can use MinGW for this. Code :: Blocks is my favorite environment that MinGW received. You can download it from here .

+2
source

You need Visual C ++ 2005 Express or Pro! This is the latest version that will support 95/98 / ME. All that is new will compile executable files, forcibly limited to the platforms of Windows XP-SP2 or higher.

WinAPI, , 95 , MSDN , , , API, ( CreateFileA, ReadFile, CloseFile ..). , ANSI "C" , , .

FYI, MSDN Visual Studio 2005 - "Microsoft Visual Studio 2005 ( 2007 .)" - ISO , , Express , ..

+1

All Articles