Solved

MFC to UNIX

Posted on 1998-09-28
2
694 Views
Last Modified: 2013-11-20
I'am very much interested in finding out how to make applications developed using MFC libraries to be able to run on UNIX . the documentation says 'if u have MFC libraries on UNIX .....'.   I have never heard about MFC on unix ?  I need to know if there are any 3rd party tools available. If it is possible to port to UNIX using the visual c++ IDE itself, i would be very much interested to know more about that.
0
Comment
Question by:nramesh30
2 Comments
 
LVL 8

Accepted Solution

by:
Answers2000 earned 50 total points
ID: 1322666
You need to spend some $... (these kits generally support the Windows API and MFC)


1. MainWin XDE
http://www.mainsoft.com 

2. Bristol Technologies have a similar kit Wind/U, but I don't like it (see comments below)
http://www.bristol.com 

3. There are a couple of others (TWINs, WM_MOTIF and so forth) - but these are not the "official" variants.  Some support Windows API, some support Windows API and MFC.

I recommend #1 or #2 (#1 is better in my opinion) because only these 2 companies have access to the Windows source.

Mainsoft have excellent support, were cheaper (when I used it) and a lot more compatible with Windows (plus apps run faster).  Bristol had more Unix integrated features but were less compatible.  For example Mainsoft support Windows True Type fonts, Bristol use Motif fonts, Mainsoft use Windows help, Bristol have their own...etc...

MainWin use their own superfast window manager which runs on X.  Bristol uses Motif.

Internet Explorer for Unix is written using Mainsoft.

I have used Mainsoft (in a team) to port a large program (over 1,000,000 lines) from WinNT to X on HP and Sun and had no major problems.  We found a bug in DDE but they turned this round really quickly.

Additionally we found a lot of bugs in our code.  What tended to happen is that we got a way with a lot of bugs that didn't show up in Windows, but when we portede they did show up.

Anyway bottom line: MainWin highly recommended.
 
BTW Mainsoft also now have some common MFC extensions (e.g. Stingray) available in UNIX flavours too
 
 

0
 

Author Comment

by:nramesh30
ID: 1322667
thank you so much
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Separate into files by filename 12 75
How to convert MFC::CString to UTF8 wchar_t* 10 137
mapAB Challlenge 35 123
JQuery serialize and unserialize 8 48
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

948 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

19 Experts available now in Live!

Get 1:1 Help Now