I am a VB.NET programmer and really no very little about C++. However, I have a lot of code written in C++ and I want to be able to use it in a VB.NET app I am working on.
I have setup a win32 dll project in VC++.NET (2005 express beta), I have added all the .h files to the project and it compiles with success.
I now want to be able to reference this dll into my VB.NET app as a COM or ActiveX dll. What do I need to do to the C++ project to enable this?
I currently haven't coded the functions that I want to expose to my VB.NET app other than a simple test function:
int _stdcall ReportVersion() {
return 1;
}
Please help.
Regards,
Russ
I have setup a win32 dll project in VC++.NET (2005 express beta), I have added all the .h files to the project and it compiles with success.
I now want to be able to reference this dll into my VB.NET app as a COM or ActiveX dll. What do I need to do to the C++ project to enable this?
I currently haven't coded the functions that I want to expose to my VB.NET app other than a simple test function:
int _stdcall ReportVersion() {
return 1;
}
Please help.
Regards,
Russ