Solved

MFC and C++ builder

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

728 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