Solved

MFC and C++ builder

Posted on 1997-09-02
5
640 Views
Last Modified: 2013-11-20
How to use (incorporate) MFC with Borland C++ Builder?
0
Comment
Question by:wpmaurice
5 Comments
 

Expert Comment

by:Lucidity
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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 50 total points
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

14 Experts available now in Live!

Get 1:1 Help Now