Mixing unmanaged code with Managed code.

G

Guest

I have VC++ project that is unmanaged. I would like to build components like
user interface dialog boxes in VB .net and call them from the unmanaged VC++
application. Is this possible? Before .net I would have done this with an
activex object or com object. Any suggestions would be appreciated.

George McLean
 
I

Ioannis Vranos

gmclean said:
I have VC++ project that is unmanaged. I would like to build components like
user interface dialog boxes in VB .net and call them from the unmanaged VC++
application. Is this possible? Before .net I would have done this with an
activex object or com object. Any suggestions would be appreciated.



I guess what you will have to do is to save the VB .NET stuff in one or
more dlls and use that .dll in your VC++ project, which as a consequence
will not be completely unmanaged, that is it will be in mixed mode
(everything compiled with /clr).
 
I

Ioannis Vranos

gmclean said:
Thanks for your help. I think this will get me started.


Now unless you have VS 2002, why not use VC++ since the beginning? They
share the same RAD.
 
I

Ioannis Vranos

Ioannis said:
Now unless you have VS 2002, why not use VC++ since the beginning? They
share the same RAD.


Meaning why not build those UI components in C++ using .NET directly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top