Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Using VB ActiveX DLLs in MSVC++

Anyone got some sample code to call functions etc from a DLL created from
VB ?
[82 byte] By [KDX] at [2007-11-10 12:51:31]
# 1 Re: Using VB ActiveX DLLs in MSVC++
"KDX" <kechong@hotmail.com> wrote:
>
>Anyone got some sample code to call functions etc from a DLL created from
>VB ?

MSDN article Q194873 shows 3 methods to do this. Method 1 worked fine in
my tests (VB5 -> VC5). If you intend to call VB DLL functions from VC without
instantiating a class, remember to set the Instancing property of your VB
class module to 6 - GlobalMultiUse.
bill zemek at 2007-11-11 20:41:02 >