Solved

Change program from Windows 95 to Windows 3.11

Posted on 1999-01-23
6
187 Views
Last Modified: 2010-04-02
I want to know the general method how to change my program written by C/C++ for Windows running on Windows 95 to Windows 3.11 ? And the method how to change from Wimdows 3.11 to Windows 95 ?
Can we design it run stable in Windows 95 then we bring to Windows 3.11 and debug then correct the error ?
Some program was design from Windows 3.11, the reason if they design from Windows 95 because Windows 95 is better than Windows 3.11 ?
0
Comment
Question by:longlong
  • 4
  • 2
6 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 1184958
Well there isn't many copies of windows 3.11 anymore.  But if you write the program as a win32s program, it will run fine on window 3.11 (with win32s, most copies have it) or on windows 95, 98 or NT.

To do this, make it a 32 bit program. Make sure you use only functions that area available on both windows 3.11 and windows 95.  Almost all functions will be available on both, so it isn't that big a deal, but you do need to check.  That's all there is to it.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1184959
Note a 16 bit windows program will run on all copies of win3.11, you don't have to have win32s installed, but it is more likely to have trouble under the orher versions of windows and it really locks you into an obsolute API and program desing.  I would not go that route.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1184960
>> Can we design it run stable in Windows 95 then we bring
>> to Windows 3.11 and debug then correct the error ?
You can write it on either windows 9X or on 3.11.  But I would copy it to the other and test it on the other frequently.  (even just getting it to load and run is a test.  If you use a function that is available on only one OS it won't even load on the other.)  

0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:longlong
ID: 1184961
I am sorry, I can not accept your answer now.
Because I want to know if my program run very stable on Win95,
how can I correct it in Win3.11 then only one program can
run stable on Win95 and Win3.11 both.
Waiting you.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1184962
I don't understand.
0
 

Author Comment

by:longlong
ID: 1184963
Thanks anyway.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question