Solved

MFC to UNIX

Posted on 1998-09-28
2
705 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ADO Memory leak with DELPHI 2007 37 181
Pressing cancel button with C# UI Automation 3 66
countEvens challenge 2 98
tripleUp challenge 7 78
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 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