Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: C++
Expertise: Intermediate
Mar 10, 2009

Accessing the VB ActiveX DLL Through VC++6.0

Use the following steps to access the VB ActiveX DLL through VC++6.0:
  1. Provide the ProgId -> as input. This finds the CLSID using the CLSIDFromProgId function.
  2. To create an instance of a specific class, use the CoCreateInstance function.
  3. Finally, get the DispInfo and then call the desired function from the DLL.
JothiMurugeswaran Selvaraj
Thanks for your registration, follow us on our social networks to keep up-to-date