Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Change program from Windows 95 to Windows 3.11

Posted on 1999-01-23
6
Medium Priority
?
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Independent Software Vendors: 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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
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…
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 be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

670 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