We've used examples from Objective Grid and Objective Views to describe migrating Stingray MFC controls to .NET. You can use the same approach to migrate Objective Edit, Objective Chart and certain portions of Objective Toolkit to be used with .NET. Further development of this approach should allow porting projects with more sophisticated GUIs.
The following articles will be helpful for learning PInvoke and relevant migration approaches:
"Managed Extensions for C++ Migration Guide": http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmex/html/vcconMCOverview.asp
"Mixing Managed and Unmanaged Code," by Nick Van den Abbeele: http://www.codeproject.com/dotnet/managed_unmanaged.asp
"Walkthrough: Porting an Existing Native C++ Application to Interoperate with .NET Framework Components": http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/vcwlkportingnativetointeroperatewithnet.asp
"C# And APIs", by Ajit Mungale: http://www.csharphelp.com/archives/archive79.html
"Call Unmanaged Code Part 2-Marshal Class," by Vyacheslav Biktagirov: http://www.csharphelp.com/archives/archive63.html
"Call Unmanaged DLLs from C#, Killing Processes Cleanly": http://msdn.microsoft.com/msdnmag/issues/02/08/CQA/default.aspx
"Marshaling Data with Platform Invoke": http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconstringssample.asp
"Working with Win32 API in .NET," by Shrijeet Nair: http://www.c-sharpcorner.com/Code/2002/Nov/win32api.asp
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.