Click here to Skip to main content
15,899,634 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a project where we have designed Static Library written in c++ and mfc vc++ dlls. Now I want to shift the project from mfc vc++ to visual c# where I need to port entire code into c# platform. As I am the beginner in vc# please guide me for the right method to be followed.

Architecture of Current Project is as follows:
Main Project(.exe) --> Which refers to common static Library and DLL function calls

What I have tried:

I have not tried anything yet.
Posted
Updated 7-Apr-18 4:30am
Comments
Richard MacCutchan 5-Apr-18 4:03am    
MFC and .NET do not fit well together. Google for articles that suggest ways of doing it.

1 solution

I found an article here on code project where this issue is discussed some years ago (conversion c source code to c#[^])

Read the article and you will fins some very useful tips.

I think it is challanging to improve code by going to C#, I have worked a lot with Ansi C and som smaller projects with c++. But mostly with C#. I have also converted a lot of code.

But it is difficult to help you without actual code. As a developer I like to be helpful to collegues in the business.

Please show some samples of your code and we might help you in more detail.

Regards,
Conny Westh
Developer with 30 years professional experience!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900