Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to port MFC COM Server to Managed code

Tags:

c++

c#

.net

com

mfc

I am working on an application suite comprising of multiple Automation servers written using MFC and this is legacy code. These apps inter communicate via COM interfaces and other events. Most of these apps provide multiple form views with various input controls to capture information. I was wondering what would be the best way to migrate these applications to managed code one app at a time. Any advice... We work in native code, but porting the code base to managed world is my personal idea because I can see a lot of functionality that can be achieved in a better way if the code is written as managed code.

Thanks, Byte

like image 377
byte Avatar asked Nov 22 '25 14:11

byte


1 Answers

You could write new parts of server using C++/CLI. It looks like a less painful option.

like image 80
Kirill V. Lyadvinsky Avatar answered Nov 24 '25 04:11

Kirill V. Lyadvinsky