"Carlos Villaseñor M." <cv*******@avantel.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
I need to develop some functions in C++.NET DLL and share it to Visual
Basic 6.0, which is the best path to create a C++ DLL an then use that
function later...?
You don't say whether this DLL contains native or managed code. If the code
is managed (i.e. it targets the .Net platform) then the DLLs you make with
VS are assemblies whcih contain classes. Those classes can appear to be COM
objects to the likes of VB if you "register" the assembly.
This link descrribes the registration tool, regasm:
http://msdn.microsoft.com/library/de...lRegasmexe.asp
If the code in the DLL is native, I'd suggest you build a COM object because
COM was invented for VB (GD&R). To that end you could use ATL to take some
of the sting out of COM development. This page may help to get you started:
http://www.codeproject.com/atl/com_atl.asp
Regards,
Will