G
Guest
Hi,
I'm sure this is a question that comes up reasonably regularly, but I'm
getting an error with the forum search function at the moment, and haven't
found anything with a browse, so forgive me if this is repeating things!!
Should also clarify that it's a VERY long time since I've done much C++, so
I may well have forgotten something simple...
I have a VB.NET dll that I'd like to be able to use in a VC++.NET
application (all using VS.NET 2003). all the documentation I've found
suggests that all I need to do is to copy the DLL into an output folder and
tell the compiler to look in that folder to resolve #using directives, then
add a #using "VBFunctions.dll" into my cpp file.
Following that, I should be able to create an instance of this class and
happily use it. I've tried this with:
VBFunctions *oFunctions = new VBFunctions();
But I get a "VBFunctions : undeclared identifier" when trying to build the
solution.
Any help is gratefully received!
Thanks
Simon
I'm sure this is a question that comes up reasonably regularly, but I'm
getting an error with the forum search function at the moment, and haven't
found anything with a browse, so forgive me if this is repeating things!!
Should also clarify that it's a VERY long time since I've done much C++, so
I may well have forgotten something simple...
I have a VB.NET dll that I'd like to be able to use in a VC++.NET
application (all using VS.NET 2003). all the documentation I've found
suggests that all I need to do is to copy the DLL into an output folder and
tell the compiler to look in that folder to resolve #using directives, then
add a #using "VBFunctions.dll" into my cpp file.
Following that, I should be able to create an instance of this class and
happily use it. I've tried this with:
VBFunctions *oFunctions = new VBFunctions();
But I get a "VBFunctions : undeclared identifier" when trying to build the
solution.
Any help is gratefully received!
Thanks
Simon