Click to See Complete Forum and Search --> : Call Managed code form Unmanaged app ?
dew
March 23rd, 2001, 09:49 AM
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
Tom Archer
March 25th, 2001, 09:09 AM
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
dew
March 26th, 2001, 12:15 AM
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
Tom Archer
March 27th, 2001, 05:38 PM
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/UnderstandingCOMInterop.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
dew
March 29th, 2001, 01:54 AM
Thanks a lot for help.
It's a very good post.
Take care for you.
Best regards: dew
AndFanci
March 29th, 2001, 06:18 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.