managed c++ from c#
-
Hi, I have added a reference for a managed c++ dll to a c# project. I can view the c++ classes and their methods in the object browser. I can also create an instance of the class objects in c#. However, intellisense does not show the object's methods, and if I try to call them, I get an error about them not being defined. Anyone experienced this in the past? Any suggestions? Thanks,
----------------- Genaro
-
Hi, I have added a reference for a managed c++ dll to a c# project. I can view the c++ classes and their methods in the object browser. I can also create an instance of the class objects in c#. However, intellisense does not show the object's methods, and if I try to call them, I get an error about them not being defined. Anyone experienced this in the past? Any suggestions? Thanks,
----------------- Genaro
Are you using the namespace they are in, or scoping it explicitly ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Are you using the namespace they are in, or scoping it explicitly ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
I expect so. There's no global namespace in C#.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog