I noticed that there are 2 compile options in DevC. Windows, and Console. I was wondering if the win32 console is only for xp, nt, and win2000. If so, does that mean a program I compile with DevC won't run on 98 or 95?
I noticed that there are 2 compile options in DevC. Windows, and Console. I was wondering if the win32 console is only for xp, nt, and win2000. If so, does that mean a program I compile with DevC won't run on 98 or 95?
Try it is the easiest answer. I do not use that compiler. All the programs in my tutorial will run from 95 ->, so the issue is not the API's, I'd be suprised if your compiler was making that kind of choice for you without giving you further options to remove any such dependency.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Windows 9x/ME have consoles also. Start -> Run -> command -> click OK.
Quzah.
Hope is the first step on the road to disappointment.
oh ok I thought that since XP and NT weren't built "over" dos like 95 that they were the only ones with the console...
Nope, it's just that Win95/98 switches dynamically between a Win32 console/DOS V86 process depending on what you run.
NT-based operating systems (i.e. 2000/XP) don't rely on any 16-bit code and thus only emulate DOS as safely as they can. This emulation always runs under the guise of a Win32 process.
The console works on 95/98/NT/2000/XP and all the server versions. The console is created using the AllocConsole API function which is available on all those platforms.
don't forget -- console programs are not limited to MS-Windows -- *nix and MS-DOS 6.x also have console programs. I don't know about MAC but I suspect they do too. The only os that I've use that does NOT have a console are WinCE. on wireless devices such as handheld barcode scanners, and cellphones.
It is probably worth pointing out that Console Windows are not "DOS boxes", as they are so often called. DOS INT mode calls for example will not work in a Windows console. To do that, you will need a DOS emulator.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
thanks for the replies