GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Aug 21, 2014 4:20 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Moving from MFC to GTK – Whats involved?
PostPosted: Fri Mar 15, 2013 8:51 pm 
Offline

Joined: Fri Mar 15, 2013 8:16 pm
Posts: 1
We presently have 500,000 lines of C++ code, of which about 75,000 lines use Microsoft Foundation Classes (MFC) to provide the human interface (GUI). We especially use the multi-document classes of MFC and the Tree display (using a rich set of the features). We want to move to a more portable, more modern, and better documented GUI that we can integrate with the rest of our code.

Code management is not a requirement.

Needs to be portable to Android, Apple, and Unix environments - not just ports to lots of Microsoft environments.

Any help or guidance would be greatly appreciated.

Thanks!


Top
 Profile  
 
 Post subject: Re: Moving from MFC to GTK – Whats involved?
PostPosted: Sun Mar 17, 2013 8:16 am 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 745
Location: UK
Hello,

I do not know anything about Microsoft Foundation Classes (MFC), but what you would need to do is find the equivalent widgets/classes between the two libraries and possibly write new classes if there is some that are missing. Then rewrite your code to use the new library.

As to portability this is OK between Microsoft Windows, MacOS X and Linux. The is no port native port to Android.

If you also want support for Android you can try porting GTK+ yourself or look at QT which has a port in development.

_________________
E.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group