Solved

Change program from Windows 95 to Windows 3.11

Posted on 1999-01-23
6
188 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MSVCR80.dll crash 2 141
Least Squares Curve Fitting 4 99
No module found pypyodbc, 3 33
C++ Code Issue 4 25
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

828 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