Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Change program from Windows 95 to Windows 3.11

Posted on 1999-01-23
6
Medium Priority
?
195 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 150 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

963 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