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


X Programming from Win32

Posted on 1999-07-23
Medium Priority
Last Modified: 2010-04-20
I have a large program in C++ ( not owl / mfc ) in win32 and I would like to port to X . Is there a SDK for that ? I don't want to use any tools or TCL/* other non-C++ things , just plain C++ .
Thanks .
Question by:WxW
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

Expert Comment

ID: 1635714
hopefully you have considdered programming your win32 in posix style or you will have to do a lot of debuging/adapting....

what do you intend by a software development kit, if you don't want to use it's tools? the libraries? i'm sorry either you used standard functions, or you will have to port the library too.......
LVL 15

Expert Comment

ID: 1635715
If you had written your program in Pascal or ObjectPascal (Delphi style), then you'd be able to help you.

Writting closs-platform applications in C/C++ ir far more complicated than using ObjectPascal.

The option I see here is you try to compile your application for 16-bit Windows and run it on Linux using Wine. That's not exactly cross-platform, but can work.


Expert Comment

ID: 1635716
The problem in porting a Win32 application to X is mostly in the use of the GUI libraries.  The libraries used to create windows, widgets, etc in windows don't exist in X.  When you program for X there are a few GUI libraries you can choose from.  The most popular is the motif library which contains all kinds of widgets.  However the function calls to the widget creation and callbacks are very different from Win32.

I have heard of some utility that implements an interface to the Motif libraries in the form or Win32 GUI calls but I have never used it or seen it.  You might want to search the web for it.

Accepted Solution

mrbrocoli earned 60 total points
ID: 1635717
If you're looking for something that will allow
you to get the GUI part of your program to work in
Linux, try something like wxWindows:

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

715 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