Solved

MFC and C++ builder

Posted on 1997-09-02
5
704 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 50 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

Suggested Solutions

Title # Comments Views Activity
Is it possible to combine several text files into one big one? (redhat v5 enterprise) 4 110
Generic progress indicator 6 119
withoutTen challenge 14 137
Path of Workbook 3 87
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.

730 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