|
-
March 23rd, 2001, 10:49 AM
#1
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
-
March 25th, 2001, 10:09 AM
#2
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
------
Tom Archer, Archer Consulting Group Inc.
Author - Inside C#, Visual C++.NET Bible, Extending MFC Apps with .NET
http://www.ArcherConsultingGroup.com
Consulting * Training * Custom Development * Enterprise Solutions
-
March 26th, 2001, 01:15 AM
#3
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
-
March 27th, 2001, 06:38 PM
#4
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
------
Tom Archer, Archer Consulting Group Inc.
Author - Inside C#, Visual C++.NET Bible, Extending MFC Apps with .NET
http://www.ArcherConsultingGroup.com
Consulting * Training * Custom Development * Enterprise Solutions
-
March 29th, 2001, 02:54 AM
#5
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
-
March 29th, 2001, 07:18 AM
#6
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
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
|