Solved

Change program from Windows 95 to Windows 3.11

Posted on 1999-01-23
6
184 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 how to clear a vector as well as how to detect empty vectors in C++.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now