Re: managed call from unmanaged class.... :-(
From: William DePalo [MVP VC++] (willd.no.spam_at_mvps.org)
Date: 02/13/05
- Next message: Elidel: "Re: polymorphism and vbscript"
- Previous message: Chris Priede: "Re: Subscriber benefits,..."
- In reply to: subdene_at_hotmail.com: "Re: managed call from unmanaged class.... :-("
- Next in thread: SirThanxALot: "Re: managed call from unmanaged class.... :-("
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 12 Feb 2005 19:53:57 -0500
<subdene@hotmail.com> wrote in message
news:1108234027.167598.224910@f14g2000cwb.googlegroups.com...
> Thank you for your help. However, I need to get the unmanaged code to
> call a c++ .net managed function, ...
In the snippet I posted, the C++ module does just that.
It has a main() function which is unmanaged and a GoManaged() function which
is managed. That's one of the cool things about the C++ compiler in VS.Net.
As far as I know it is the only compiler that allows the developer to mix
managed and unmanaged functions in the same module. Those managed sections
> ... and not a c# one.
Well, there is no difference there. Managed C++ code such as my little
snippet can make use of assemblies in MC++ as well as C#.
Regards,
Will
- Next message: Elidel: "Re: polymorphism and vbscript"
- Previous message: Chris Priede: "Re: Subscriber benefits,..."
- In reply to: subdene_at_hotmail.com: "Re: managed call from unmanaged class.... :-("
- Next in thread: SirThanxALot: "Re: managed call from unmanaged class.... :-("
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|