"Simon Smith" <(E-Mail Removed)> wrote in message
news:A5335019-9D3C-419F-B1C0-(E-Mail Removed)...
> 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.
Is your VC++ application native or managed - i.e. does it target Win32 or
..Net? A simple procedure such as you sketched should work in the latter
case.
If though, you have a Win32 caller and a .Net callee, there is more work to
do. I sketch a method for doing that here:
http://groups.google.com/group/micro...1afe6d2e0f0113
(My sample uses a C# callee but that doesn't matter)
Regards,
Will