Solved

MFC to UNIX

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iSeries FTP Exit Program 8 163
Complete beginner needs help making a cron job 9 131
changeXy challenge 13 93
moto 4g phone enable finger print 4 48
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: 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…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

726 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