Solved

MFC in Linux?

Posted on 2001-07-01
4
243 Views
Last Modified: 2010-04-21
Hi,
Is it possible to compile and run MFC code (written in VC++ 6 on Win2000) on Linux OS?
Please add more relevant details!
0
Comment
Question by:s_lavie
[X]
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
4 Comments
 
LVL 4

Accepted Solution

by:
newmang earned 50 total points
ID: 6243262
As far as I am aware it is not possible to do this natively under Linux but it is possible to run an executable compiled on a M$ system on a Linux system using VMWare or WINE which are Windows emulators running under Linux.
0
 
LVL 6

Expert Comment

by:graham_k
ID: 6244415
Not unless you get the MFC source code form Micro$oft, since the MSVC++ compiler comes with lots of *.lib files, whereas Linux needs *.so


Hmm, might you not also have to write a bunch of interrupt handlers?
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6351830
Sorry to be off topic here, but there are points awaiting you, for help provided.

newmang ...Please comment here to complete this.
http://www.experts-exchange.com/jsp/qShow.jsp?ta=winprog&qid=20053546

Thank you,
Moondancer
Community Support Moderator @ Experts Exchange
0
 

Expert Comment

by:sepero
ID: 8694071
I know that this post is coming in about a year too late but...
with slight modifications to your code, it is possible.
You'll need the library at this address though:
http://www.wxwindows.org/
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
Trying to install MonoDevelop from sourde on Ubuntu 14.04 trusty 10 617
Subsystem for UNIX-based Applications (SUA) 2 92
linux $PWD 2 693
php56-php-mcrypt for rhel7 php56 1 111
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

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