![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | c++ without /clr Hi. I would like to be able to call functions that exist in a class library that is referenced as a project reference from a C++ console application. I've got a 40000+ line C++ app that doesnt use the .net framework. Most of the code was written in a manner to support compiling across different platforms (unix/windows/etc...) so it isn't /clr friendly. We're scrapping that requirement in this next release. I wrote a VB.NET class library. I want to be able to call the methods from the class library from the C++ app. When I add the /clr compile option, the project brings up thousands of compile errors.... I don't want to rewrite the entire C++ app all at once to accomidate these errors, so I've got to find a different way to call the functionality from the vb.net class library from C++. An alternate option that one of my coworkers brought up was to register the vb.net assembly in COM and then call the COM object from C++... but I also don't want to persue that road because doing so would force me to reregister the assembly in COM every time I updated the assembly. Is there another way to call the methods that exist in my vb.net project from C++? Thanks, JRF |
My System Specs![]() |