Solved

MFC and C++ builder

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macro to save highlighted rows as a separate file 5 43
sumDigits challenge 9 148
scoreUp challenge 14 62
Problem to open Excel file 15 133
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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