Click to See Complete Forum and Search --> : Calling DLLs


May 5th, 1999, 03:31 PM
I am wondering if it is even possible to call VB6 ActiveX.DLLs and use them in VC6? If there is how is this accomplished on the VC side and is there something special that needs to be done on the VB side for this to work properly.

Ashley Antony
May 5th, 1999, 11:03 PM
I think the easiest way is using the automation. From the .tlb file of DLL generate a wrapper class in VC++ using class wizard/new class. Then use it just like you do with any other class.

Ashley.Antony@in.bosch.com
Bangalore,
India.

balak yap
May 6th, 1999, 02:16 AM
i do as show say, creat an activeX DLL in VB5, only a very simple Function which would shows
a MsgBox. Then i add as new class from VC++5.0. VC++ create a wrapper class for me,
and i try to call the function. Everything fine when compile and run, but the MSgBox NEVER show.
I test the ActiceXDLL at VB program, the Msgbox SHOW, show..what shall i do know?
Do i miss some stpe in vc++
Thanks

Hello World!!!