call managed from unmanaged

Started by
2 comments, last by rfterdarc 17 years, 9 months ago
other ppl have asked this, but i can't seem to figure it out i have class unmanaged_class { void jim() { // How can i call ManagedClass.bob() ? } }; public ref class ManagedClass { void bob() { } }; i think the idea is to use callbacks and delegates some how...
Advertisement
Are you doing this from standard C++, Managed C++, C++/CLI or in some other language? Is this a mixed model program where you have managed components and unmanaged components in the same project, or are you trying to call a function from a managed assembly from a completely unmanaged application?
im using c++/cli, and its just a simple new project with just those lines in it
oh, nm got it

This topic is closed to new replies.

Advertisement