Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Borland C++ using OWL to MFC Migration

Posted on 1997-12-10
4
Medium Priority
?
684 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
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…
Suggested Courses

916 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