Sample for migrating C++ console app
-
I have asked on the VC++ forum on MSDN for an app that provides somewhat of an illustration of a legacy C++ app migrated to C++/CLI. I have been unsuccessful so far. I have a C++ console exe app that I need to wrap that in a managed class so I can call it using C#. I can post code if necessary. The program is not that big but there was a pop-up dialog that claimed otherwise. I don't know if I should create a dll out of it and export functions or something else Appreciate any help offered. Please re-direct if this is the wrong forum. Al
Jer 29:11
-
I have asked on the VC++ forum on MSDN for an app that provides somewhat of an illustration of a legacy C++ app migrated to C++/CLI. I have been unsuccessful so far. I have a C++ console exe app that I need to wrap that in a managed class so I can call it using C#. I can post code if necessary. The program is not that big but there was a pop-up dialog that claimed otherwise. I don't know if I should create a dll out of it and export functions or something else Appreciate any help offered. Please re-direct if this is the wrong forum. Al
Jer 29:11
Al_S wrote:
I have asked on the VC++ forum on MSDN
Your requirements are very specific and I dont think there are any code samples composed of native C++ being converted to managed C++/CLI. Microsoft did however produce some documentation and a checklist. C++/CLI Migration Primer[^] Managed Extensions for C++ Syntax Upgrade Checklist[^] Best Wishes, -David Delaune
-
Al_S wrote:
I have asked on the VC++ forum on MSDN
Your requirements are very specific and I dont think there are any code samples composed of native C++ being converted to managed C++/CLI. Microsoft did however produce some documentation and a checklist. C++/CLI Migration Primer[^] Managed Extensions for C++ Syntax Upgrade Checklist[^] Best Wishes, -David Delaune
I too have looked on the forums. It seems from numerous threads in my searches that my requirements are indeed not specific and very much in line with what developers are looking to do. That is, migrate console legacy code to that with a UI front end and wrap that in a managed dll or convert to unmanged dll and call it via IJW or P/Invoke. One source of help is located here http://cfx.codeplex.com/[^] I strongly recommend it as I am going through it and find a ton of useful example and resources. It seems it's been created for those asking questions similar to mine and designed as an aid to the solution Al
Jer 29:11