|
-
January 14th, 2009, 11:04 PM
#1
C# class in mfc
Hello at all,
i wrote an little Data Access Layer in C# with .NET.
Now I want to use it in an unmanaged visual c++ MFC code, createt in VS 6.
Is it possible to use my DAL in this older project? How can I easily do this? Do you know some Tutorials therefore?
Do you know some DAL examples in C# for "looking up" to optimze my one.
Best regards, Robbi
-
January 15th, 2009, 12:00 AM
#2
Re: C# class in mfc
 Originally Posted by robbi11880
Is it possible to use my DAL in this older project?
Kind of.
 Originally Posted by robbi11880
How can I easily do this?
. You could do this by exposing your DAL via COM and then call it from C++. It wouldn't be simple.
 Originally Posted by robbi11880
Do you know some Tutorials therefore?
Search MSDN for "COM callable wrapper".
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
|