473,803 Members | 2,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I convert the C6.0 program of OS/2 platform TO a program in windows2000/xp platform?

HI, all

How can I convert the C6.0 program of OS/2 platform TO windows2000/xp
platform.

The program occurs a lot of errors in Windows 2000/xp when compiled.
And I hope a quick way to solve it, not read the code line by line.

Thank you very much
Coca
Nov 14 '05
15 1668
On Tue, 06 Jan 2004 08:41:37 +0800, in comp.lang.c , Coca
<bi******@btama il.net.cn> wrote:
HI, all

How can I convert the C6.0 program of OS/2 platform TO windows2000/xp
platform.
This is going to be tricky as it probably uses lots of OS/2 system
functions.
The program occurs a lot of errors in Windows 2000/xp when compiled.
And I hope a quick way to solve it, not read the code line by line.


There is no quick way, unless you can buy an OS/2 emulation library
for Win32. I very much doubt that a useful one exists, given that OS/2
was generally disliked by MS.

So I guess you have to analyse each error, and write a dummy function
with the same parameters, which then called a Win32 function which did
the same as the OS/2 one was supposed to.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 14 '05 #11
Mark McIntyre <ma**********@s pamcop.net> wrote in message news:<a6******* *************** **********@4ax. com>...
There is no quick way, unless you can buy an OS/2 emulation library
for Win32. I very much doubt that a useful one exists, given that OS/2
was generally disliked by MS.

Errrmmm... OS/2 was partly written by MS and went on to form the basis
for WinNT when MS and IBM went their separate ways. You can still see
traces of OS/2 in WinXP today.
Nov 14 '05 #12
On 13 Jan 2004 03:43:19 -0800, ag******@global net.co.uk
(Slartibartfast ) wrote:
Mark McIntyre <ma**********@s pamcop.net> wrote in message news:<a6******* *************** **********@4ax. com>...
There is no quick way, unless you can buy an OS/2 emulation library
for Win32. I very much doubt that a useful one exists, given that OS/2
was generally disliked by MS.

Errrmmm... OS/2 was partly written by MS and went on to form the basis
for WinNT when MS and IBM went their separate ways. You can still see
traces of OS/2 in WinXP today.


Doesn't change the fact that MS not only disliked OS/2, but
successfully pressured IBM to stop selling the retail version. During
the time they were helping to develop it, they were also developing
Windows, and withdrew from the OS/2 venture as soon as they had a
competing product.

That said, NT, and apparently Win2000 (it's in the help) have an "OS/2
subsystem" which will run 16-bit OS/2 console programs. I don't know
if it's still present in XP.

--
Al Balmer
Balmer Consulting
re************* ***********@att .net
Nov 14 '05 #13
Alan Balmer wrote:
[snip]
That said, NT, and apparently Win2000 (it's in the help) have an "OS/2
subsystem" which will run 16-bit OS/2 console programs. I don't know
if it's still present in XP.


No, it isn't present in XP (I've had occasion to ask).
--
Lew Pitcher, IT Consultant, Application Architecture
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)

Nov 14 '05 #14
Alan Balmer <al******@att.n et> wrote in message news:<tk******* *************** **********@4ax. com>...
On 13 Jan 2004 03:43:19 -0800, ag******@global net.co.uk
(Slartibartfast ) wrote:
Mark McIntyre <ma**********@s pamcop.net> wrote in message news:<a6******* *************** **********@4ax. com>...
There is no quick way, unless you can buy an OS/2 emulation library
for Win32. I very much doubt that a useful one exists, given that OS/2
was generally disliked by MS.

Errrmmm... OS/2 was partly written by MS and went on to form the basis
for WinNT when MS and IBM went their separate ways. You can still see
traces of OS/2 in WinXP today.


Doesn't change the fact that MS not only disliked OS/2, but
successfully pressured IBM to stop selling the retail version. During
the time they were helping to develop it, they were also developing
Windows, and withdrew from the OS/2 venture as soon as they had a
competing product.

That said, NT, and apparently Win2000 (it's in the help) have an "OS/2
subsystem" which will run 16-bit OS/2 console programs. I don't know
if it's still present in XP.


For a product they disliked they stuck with it for an awfully long
time - OS/2 1.3 was the only supported OS for SQL Server for a good
couple of years after WinNT became available.

Never had cause to use NT's OS/2 subsystem, although I knew of its
existence in NT3.x at least. I bet you can still get it for XP if you
know where to look, even if you have to run it in W2K compatibility
mode.
Nov 14 '05 #15
On 14 Jan 2004 07:08:46 -0800, ag******@global net.co.uk
(Slartibartfast ) wrote:
Alan Balmer <al******@att.n et> wrote in message news:<tk******* *************** **********@4ax. com>...
On 13 Jan 2004 03:43:19 -0800, ag******@global net.co.uk
(Slartibartfast ) wrote:
>Mark McIntyre <ma**********@s pamcop.net> wrote in message news:<a6******* *************** **********@4ax. com>...
>
>> There is no quick way, unless you can buy an OS/2 emulation library
>> for Win32. I very much doubt that a useful one exists, given that OS/2
>> was generally disliked by MS.
>
>
>Errrmmm... OS/2 was partly written by MS and went on to form the basis
>for WinNT when MS and IBM went their separate ways. You can still see
>traces of OS/2 in WinXP today.
Doesn't change the fact that MS not only disliked OS/2, but
successfully pressured IBM to stop selling the retail version. During
the time they were helping to develop it, they were also developing
Windows, and withdrew from the OS/2 venture as soon as they had a
competing product.

That said, NT, and apparently Win2000 (it's in the help) have an "OS/2
subsystem" which will run 16-bit OS/2 console programs. I don't know
if it's still present in XP.


For a product they disliked they stuck with it for an awfully long
time - OS/2 1.3 was the only supported OS for SQL Server for a good
couple of years after WinNT became available.


I don't remember the dates, but that was likely the Sybase SQL Server,
before MS modified it. Sybase later regretted making that deal. The
product was actually available for other OS's, but MS sold only the
OS/2 version.
Never had cause to use NT's OS/2 subsystem, although I knew of its
existence in NT3.x at least. I bet you can still get it for XP if you
know where to look, even if you have to run it in W2K compatibility
mode.


--
Al Balmer
Balmer Consulting
re************* ***********@att .net
Nov 14 '05 #16

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

Similar topics

16
16433
by: Khuong Dinh Pham | last post by:
I have the contents of an image of type std::string. How can I make a CxImage object with this type. The parameters to CxImage is: CxImage(byte* data, DWORD size) Thx in advance
1
1772
by: ChaimG | last post by:
Hi everyone, I Run DB Application using Access97 (with DAO) on XP Client and Windows2000 Server (Version5, SP4) with active directory. A Simple "Select *" Query takes no time ( less then second), but query with "Group By " Expresion ( Select CustNum From Customers Group By CustNum) takes more then 30 seconds to perform. This Problem accures only with XP Client on Windows2000 server. The same "Group By " Querys takes less then second On...
1
1170
by: Turk | last post by:
Is it possible to deploy ASP.NET 2 proj onto PWS on windows2000 pro. The app runs fne in vstudio2005, but unable to configure asp.net 2 on PWS on my windows2000 development box. Is this possible? Thansks
1
1578
by: shivapadma | last post by:
hello, 1: what are the advantages of windowsxp over windows2000 2:can we able to open an application of windows2000 in windowsxp
37
5084
by: Vince C. | last post by:
Hi all. I've installed Bloodshed Dev-C++ on a Windows 2000 SP4 machine. I'm using MinGW 3.4.2. I'd like to temporarily disable standard functions to write to stderr, i.e. for instance redirect stderr to a temporary file (or /dev/null but is there an equivalent under Windows? Is it "nul:") and then to *restore* the default stderr so that standard library functions that write to stderr produce output again.
21
7525
by: Aman JIANG | last post by:
hi I need to do this (convert double to string) fast, safe and portable. Is there any way to do this ? Except the ways following: 1. C++ I/O stream, stringstream (and boost::lexical_cast) 2. sprintf (and its brothers) 3. any nonstandard C/C++ functions
5
8368
by: Jonathan Sachs | last post by:
I'm interested in experienced .Net developers' opinions about whether I should convert an existing Java program to J# or C#. I thought this was a no-brainer until I discovered that with the release of V.S. 2008, Microsoft has ceased to develop or publish J#. That makes the question much more difficult. The program in question is one that I began several years ago but abandoned because it required integration with Microsoft Office, and...
0
1371
by: Andy202 | last post by:
I have a program that sends and receives data via a TCP/IP socket, but I would like to convert this application to a Shared Library so that other programs can use this library to send() and receive() data. This is on a Unix platform using a gcc compiler. Forgetting about the send option for the present, I have the typically:- // The client program for the application. #include "initComms.h" int main (int argc, char **argv)
0
9566
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10317
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10300
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9127
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7607
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2974
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.