?
Solved

MFC and C++ builder

Posted on 1997-09-02
5
Medium Priority
?
742 Views
Last Modified: 2013-11-20
How to use (incorporate) MFC with Borland C++ Builder?
0
Comment
Question by:wpmaurice
[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
5 Comments
 

Expert Comment

by:Lucidity
ID: 1305428
I have spent many many many hours and have come to the conclusion that this cannot be done. In theory, yes, but in practice you will be bashing your head into a rubber wall.

If someone out there actually has done this I am as interested as you are.

ciao
Lucidity
0
 

Expert Comment

by:Lucidity
ID: 1305429
I have spent many many many hours and have come to the conclusion that this cannot be done. In theory, yes, but in practice you will be bashing your head into a rubber wall.

If someone out there actually has done this I am as interested as you are.

ciao
Lucidity
0
 
LVL 4

Expert Comment

by:AVaulin
ID: 1305430
The easiest way to do what you want is exchanging DLL and H files between compilers. I've did this with success. Another way is exchanging LIB and H files.
Good luck.
0
 
LVL 4

Expert Comment

by:mbhakta
ID: 1305431
There was this pretty good article in I think DDJ or WDJ about using C++ Builder. Now, let me tell you something, there is a statement in the article saying, don't even bother putting MFC and C++ Builder together. It is not like Borland C++.

So I think the only solution is what AVaulin has suggested.
0
 

Accepted Solution

by:
bsturk earned 100 total points
ID: 1305432
The only way that is supported by Borland and that will compile is to get the recompiled libs and .h files that unfortunately only come with BC++ 5.02.  If you own the Professional or higher version of Borland Builder BC++ 5.02 is available for free.  See http://www.nh.ultranet.com/~bsturk for more details on the free compiler.  Hacking the MFC .h files are a pain, I have used the files from BC++ 5.02 and it compiles MFC code just fine.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

741 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