|
-
December 7th, 2009, 11:06 AM
#1
MFC DLL wrapper for C# GUI
I am completely new to C# programming and I'm having a hard time finding a tutorial on how to "wrap" existing MFC code for use in a C# app.
I have a current application written completely in C++ using MFC. The app is broken down into the GUI section and about 3 or 4 underlying MFC DLLs.
My current task is to use the existing underlying MFC DLLs with a C# .NET GUI. Based on what I've read, this is possible by wrapping the MFC DLLs...possibly in more than one wrapper? I just need to know...in simple terminology....how to do this?
The DLLs have individual functions exported. However, some of the exported functions take MFC parameters such as CList, CString, or structures containing CLists/CStrings, etc.
I'd really appreciate it if someone could explain in detail how to write the "wrappers" needed. If you've found a good detailed tutorial feel free to give the link. I just haven't been able to find one that is detailed enough for someone brand new to C# and the idea of wrappers.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|