473,503 Members | 8,959 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OS/2 C60 programs converted into MS windows programs?Information on OS/2 C60?

Hello, all
I am working on a project that needs to
convert OS/2 C60 programs into MS windows programs. And I
found it difficult to find useful information.
Could somebody kindly help me ? any tips?web sites?

1. How can I convert OS/2 C60 programs into MS windows
programs?

2.Where can I find information on OS/2 C60 ?any web
sites...?

3. What are the difference between variable types in OS/2
and in MS windows?

Any tips are appreciated.

Coca

Nov 14 '05 #1
7 1713
In article <g9********************************@4ax.com>,
Coca <bi******@btamail.net.cn> wrote:
I am working on a project that needs to
convert OS/2 C60 programs into MS windows programs.


I know this C standardization stuff has been going on for a while, but
I didn't realise it was *that* old!

-- Richard
Nov 14 '05 #2
On Fri, 20 Aug 2004 15:18:20 UTC, Coca <bi******@btamail.net.cn>
wrote:
Hello, all
I am working on a project that needs to
convert OS/2 C60 programs into MS windows programs. And I
found it difficult to find useful information.
Could somebody kindly help me ? any tips?web sites?

1. How can I convert OS/2 C60 programs into MS windows
programs?

2.Where can I find information on OS/2 C60 ?any web
sites...?

3. What are the difference between variable types in OS/2
and in MS windows?

Any tips are appreciated.

Coca


The MS C 6.0 compiler and the OS/2 C 6.0 compiler were both done by
Microsoft. Perhaps there are switches for the current MS C compiler to
work with the v6.0 code.

Conversion of the system API calls will be most of the work. For that
you will need the documentation for the 16 bit (probably) OS/2 API. I
believe some of it can be found at http://hobbes.nmsu.edu

--
Lorne Sunley
Nov 14 '05 #3
On Fri, 20 Aug 2004 23:18:20 +0800, Coca wrote:
Hello, all
I am working on a project that needs to
convert OS/2 C60 programs into MS windows programs. And I
found it difficult to find useful information.
Could somebody kindly help me ? any tips?web sites?

1. How can I convert OS/2 C60 programs into MS windows
programs?

2.Where can I find information on OS/2 C60 ?any web
sites...?

3. What are the difference between variable types in OS/2
and in MS windows?

Any tips are appreciated.

Coca

What do you mean by C60? Do you refer to programs written using
Microsoft C version 6.0?
Aidan Grey

Nov 14 '05 #4

Hi,
Similar questions as stated before me. Is this a command line program or a
GUI, (or a driver)?

If memory serves the MS C6.0 and the IBM C/2 V1.1 were mostly the same. For
OS2 you needed the OS2 toolkit for GUI development and some other function
headers etc. Most variable types were the same except those in the system
API header files but this is more target OS than compilier related. I do
remember the int type changed but I think that was in the Visualage C++
compilier later (OS2 V2+.) You may find a copy of the compilier (with the
docs) on eBay. (I still have the old IBM C/2 compilier loaded)
If it is a COMMAND LINE 16 bit program it may run unchanged (binary exec
compatable) in a windows (NT+) command shell.
If you still need to compile it for windows I think you can just change the
library includes at link time (ie: llibce vs ?)
This depends on what libraries you installed with the compilier and if you
chose a default library or not.
(The C6.0 compilier was a DOS/OS2 cross compilier)

If it is a GUI you will have a bit more work. On a simple GUI with a few
buttons you may be able to copy the needed parts from the
resource file (this is a text file .RC or .RES) and feed them into the new
MSC compiler (Visual C++ 5/6? not sure of the newer versions.)
For a more complex GUI (system timers, named pipes, threads, graphics coord
X,Y direction, other API changes, etc) you will have a bit more work. Some
functions are implemented differently and some not at all.

If it is a DRIVER you should be able to reuse most of the base hardware code
but a bit more work to match I/O API etc.
Regards
Bart
On Fri, 20 Aug 2004 23:18:20 +0800, Coca wrote:


Hello, all
I am working on a project that needs to
convert OS/2 C60 programs into MS windows programs. And I
found it difficult to find useful information.
Could somebody kindly help me ? any tips?web sites?

1. How can I convert OS/2 C60 programs into MS windows
programs?

2.Where can I find information on OS/2 C60 ?any web
sites...?

3. What are the difference between variable types in OS/2
and in MS windows?

Any tips are appreciated.

Coca


Nov 14 '05 #5


--
Yes, it means Microsoft C version 6.0


What do you mean by C60? Do you refer to programs written using
Microsoft C version 6.0?
Aidan Grey


Nov 14 '05 #6
Thank you,Nitro,Lorne Sunley.
It's really helpful to me

--
ÔÚ Sat, 21 Aug 2004 03:26:20 GMT ʱ, ¡¾ "Nitro"
<nitro-57@no_spam_please_usa.net> ¡¿Ð´ÁË:

Hi,
Similar questions as stated before me. Is this a command line program or a
GUI, (or a driver)?

If memory serves the MS C6.0 and the IBM C/2 V1.1 were mostly the same. For
OS2 you needed the OS2 toolkit for GUI development and some other function
headers etc. Most variable types were the same except those in the system
API header files but this is more target OS than compilier related. I do
remember the int type changed but I think that was in the Visualage C++
compilier later (OS2 V2+.) You may find a copy of the compilier (with the
docs) on eBay. (I still have the old IBM C/2 compilier loaded)
If it is a COMMAND LINE 16 bit program it may run unchanged (binary exec
compatable) in a windows (NT+) command shell.
If you still need to compile it for windows I think you can just change the
library includes at link time (ie: llibce vs ?)
This depends on what libraries you installed with the compilier and if you
chose a default library or not.
(The C6.0 compilier was a DOS/OS2 cross compilier)

If it is a GUI you will have a bit more work. On a simple GUI with a few
buttons you may be able to copy the needed parts from the
resource file (this is a text file .RC or .RES) and feed them into the new
MSC compiler (Visual C++ 5/6? not sure of the newer versions.)
For a more complex GUI (system timers, named pipes, threads, graphics coord
X,Y direction, other API changes, etc) you will have a bit more work. Some
functions are implemented differently and some not at all.

If it is a DRIVER you should be able to reuse most of the base hardware code
but a bit more work to match I/O API etc.
Regards
Bart
On Fri, 20 Aug 2004 23:18:20 +0800, Coca wrote:


Hello, all
I am working on a project that needs to
convert OS/2 C60 programs into MS windows programs. And I
found it difficult to find useful information.
Could somebody kindly help me ? any tips?web sites?

1. How can I convert OS/2 C60 programs into MS windows
programs?

2.Where can I find information on OS/2 C60 ?any web
sites...?

3. What are the difference between variable types in OS/2
and in MS windows?

Any tips are appreciated.

Coca



Nov 14 '05 #7
On Mon, 23 Aug 2004 22:04:14 +0800, Coca wrote:


--
Yes, it means Microsoft C version 6.0


What do you mean by C60? Do you refer to programs written using
Microsoft C version 6.0?
Aidan Grey

For a C compiler that works under both OS/2 and Windows, check out
the Open Watcom compiler at www.openwatcom.org.

It may assist you in porting your program to Windows.
Aidan Grey

Nov 14 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1890
by: Sean | last post by:
I'm sure this might be a simple questions, but here it goes anyway. I am trying to do a 'front end' to a program. For example I have a program that doesn't take command line arguments, but...
12
3400
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++...
5
1457
by: Blasting Cap | last post by:
I have a VB6 program that runs as an app, that I want to both convert it to vb.net, and run it as a service on the server. I have been able to create the service, and what I did was to open the...
2
923
by: Les Caudle | last post by:
I converted an ASP.NET 1.1 web running on IIS under XP Pro using Visual Studio 2005 It runs ok, but when I build it - no dlls are created in the BIN directory (or any other directory that I've...
1
1717
by: UKishore | last post by:
Hi All, Am generating a new profile by running my standalone application using the API "NetUserAdd". After logging to the newly created profile , I couldn't see default "Recently Used Programs"...
8
1358
by: andreas | last post by:
How can I choose some fonts in programs so that they are always avalable for the program at other computers, can I put them in some resources? Thanks for any response
4
2335
by: Sean DiZazzo | last post by:
Hi all, I'm trying to find a way to get a list of all the installed programs on a Windows box via Python. I thought of a few hacks that might partially work, and then thought about "Add/Remove...
1
1939
by: gnue | last post by:
When I install my application built using VS2008 C#, the application size is reported incorrectly. The application is actually 40 Meg in size. When you click on "Add Remove Programs" from the...
0
9932
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Programs dealing with autoruns Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list programs that help me to view/modify the autoruns...
0
7095
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7361
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7015
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5602
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3183
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1523
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
749
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.