Using the vb component in vc++ 
Author Message
 Using the vb component in vc++

hi all.

i have developing vc application.
but, i met the some trouble.
i wanna using the vb component in vc++.

please, help me .. send me to the information or source ..

have a nice day..



Mon, 21 Jun 2004 09:57:22 GMT  
 Using the vb component in vc++
You have to #import the DLL into the VC++ source...

After that you can use the interface.. for example:

 CoInitialize(NULL);

_TreePtr pArbol(__uuidof(Tree));
pArbol->Method();

CoUninitialize();

To know the interface names you can use OLE/COM Object Viewer and see the
TypeLib for that DLL

Jaime



Quote:
> hi all.

> i have developing vc application.
> but, i met the some trouble.
> i wanna using the vb component in vc++.

> please, help me .. send me to the information or source ..

> have a nice day..



Mon, 21 Jun 2004 11:29:07 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem with VC component in ASP-VB Script

2. Returning arrays from VB/VC components or VBScript to JavaScript in ASP

3. Returning arrays from VB/VC components or VBScript to JavaScript in ASP

4. Can VC client call VB Component?

5. Can VC client call VB Component?

6. Problem using Crystal report ActiveX installed with VB and used in VC.

7. Help: Error handling for VB component in VC

8. Can you debug VB - MTS component in VC?

9. VC-COM from VB/VC/Script

10. Using VB .Net and VC at the same time in .Net

11. Using a VB From in a VC Container.

12. ? regarding passing data from VC to VB using ActiveX control

 

 
Powered by phpBB® Forum Software