Solved

Borland C++ using OWL to MFC Migration

Posted on 1997-12-10
4
618 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Xsl Nested Loop 4 21
How to I "stripe" columns using XSLT 3 30
website file permissions 4 54
RSS Feed Validation 2 49
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
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…

705 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

19 Experts available now in Live!

Get 1:1 Help Now