Solved

Borland C++ using OWL to MFC Migration

Posted on 1997-12-10
4
634 Views
Last Modified: 2013-12-26
I have an application built entirely on Boralnd C++; uses
OWL extensively; also uses OCF.
1. How easy or difficult to migrate this code completely to MFC.
2. Are there any tools available?
3. Are there any other resources(Books, white-papers, etc) available.
0
Comment
Question by:seedy
  • 2
  • 2
4 Comments
 
LVL 2

Author Comment

by:seedy
ID: 1299495
Adjusted points to 200
0
 
LVL 1

Expert Comment

by:winmeister
ID: 1299496
I made such a job about six months ago. There is no tool or specific book available. You should have a good MFC book (there are many of them ). I had to rewrite the whole code, but the old OWL code was not completely useless; I have cut&pasted about 50% of the code.
You have to rewrite the GUI-specific code, but you can keep all your application-specific part of the program.
It can seem a huge work, but it isn't. Let's say: it's a challenge!
0
 
LVL 2

Author Comment

by:seedy
ID: 1299497
I instinctively knew these details.  What I was looking
for is pointers to more specific details like... may be a
class mapping between OWL and MFC, or some notes that describes
the strategy that should be used, etc.  I need more details.
Thanks.
0
 
LVL 1

Accepted Solution

by:
winmeister earned 200 total points
ID: 1299498
I am afraid you are making the same mistake I did last year. There is NO class mapping, there is NO general strategy.

You have to study MFC and hope that your application specific code can be pasted. As I said, the GUI code has to be re-writtem. Let's say, OWL's TWindow class is completely different from MFC's CWnd. You cannot just change the class name, but you have to re-write the code. MFC doesn't have the SetupWindow method, but it uses other ways to initialize the window.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

813 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

13 Experts available now in Live!

Get 1:1 Help Now