Call Managed code form Unmanaged app ?
Hi All,
How can I call Managed Code from simple unmanaged Win32 app. Is it possible. And what about opposite situation ? I mean call unmanaged code from .NET app. Please write example code.
Thanks in advance ! Any answer would be appreciated.
Best regards: dew
Re: Call Managed code form Unmanaged app ?
What you're asking for encompasses 30 page chapters. Can you be more specific about what you're looking for?
Cheers,
Tom Archer - CodeGuru
Inside C# (early 2001)
Teach Yourself Visual InterDev in 24 Hours
Re: Call Managed code form Unmanaged app ?
Hi,
Thanks for reply. I'm looking for information about such problem. I didn't mean immediately decision of my question. I know that this problem is too large for few rows answer, so I'll be very appreciated if you tell me where I can find essential information about calling managed code from unmanaged app and reverse case. Thanks in advance !
Best regards: dew
Re: Call Managed code form Unmanaged app ?
I'm posting an article this evening from Aravind Corera that is a wonderful tutorial on using COM components from .NET C# applications. Aravind contributed mightily to the COM interop chapter in my "Inside C#" book so he definitely knows his stuff.
The URL of this article is http://www.codeguru.com/cominterop/U...OMInterop.html. As I said, it's not posted right now, but will be this evening.
Cheers,
Tom Archer - CodeGuru
Inside C# (early 2001)
Teach Yourself Visual InterDev in 24 Hours
Re: Call Managed code form Unmanaged app ?
Thanks a lot for help.
It's a very good post.
Take care for you.
Best regards: dew
Re: Call Managed code form Unmanaged app ?
I'm not so good with c# but what i found out is that if you don't want to encapsulate a class within a Com component and call it from your managed code, you should create a C++ Managed Class Library and use it as an interface to your unmanaged code