how to convert mfc libraries in linux
Hi,
I have written an application in windows using mfc (microsoft foundation class) c++. What could be the solution it to migrate to linux? |
Rewrite it without using mfc.
|
Quote:
|
To be honest it has been a long time since I worked with mfcs (20 years+), so maybe someone else can offer another avenue. But I am not aware of any "conversion" method other than writing new classes with the same interface and/or function provided by the mfcs.
The mfcs are very non-portable as I recall, largely because they bind tightly to Window$ core/kernel types and features. *** Added comment: I just did a quick search and did not see any other path prominently mentioned. It will likely be a lot of work and involve more than a simple one-to-one code rewrite for a large application, but is of course doable. |
Quote:
The only place you will find something similar would be buried in the wine project. But I have no idea how hard it would be to extract. You might find some help from https://www.winehq.org/docs/winelib-guide/index note the legal warnings - a lot of MFC is composed of macros... which could present legal issues. and the project at: https://www.winehq.org/ |
All times are GMT -5. The time now is 10:15 AM. |