I am doing a project. I have some functions written in C++. I need to call these functions from a VB.NET project. In order to avoid to rewrite all these C++ functions, I put them inside one project which is CLR class library and put calling VB.net in another project under one solution file. And add reference of the VB.net project to the C++.net dll.
My questions are
1. How to correctly put all these C++ functions inside the CLR dll with correct syntax?
I found in the generated C++.net project template, inside .h file:
name space NameofSpace
{
public ref class ClassName
{
}
}
what is ref class?
2. how to call these C++ functions with correct syntax?
I am kind of new to .net and VB. Thank you very much guru!
My questions are
1. How to correctly put all these C++ functions inside the CLR dll with correct syntax?
I found in the generated C++.net project template, inside .h file:
name space NameofSpace
{
public ref class ClassName
{
}
}
what is ref class?
2. how to call these C++ functions with correct syntax?
I am kind of new to .net and VB. Thank you very much guru!