can anybody tell me how i can call a vb activex dll from c++
-
can anybody tell me how i can call a vb activex dll from c++
-
can anybody tell me how i can call a vb activex dll from c++
Follow this steps 1) Click on Tools->OLE/COM Object Viewer. 2) Press View TypeLib. 3) Select your VB dll location. 4) This will show you coclass and interfaces of the VB dll. 5) Save this file.This file is an IDL file. 6) Add this IDL file in your project. 7) Right click on IDL file and compile it.This will create a header file of the IDL file.Now include this file where you want. 8) Use this file which has defination of the coclass and its interfaces. :-D ritz1234
-
can anybody tell me how i can call a vb activex dll from c++
philiptabraham wrote:
can anybody tell me how i can call a vb activex dll from c++
Find the physical location of the VB file on the disk and use the #import directive to get the declarations into your program. I think if you use a recent enough version of Visual C++, you can #import by lib id. Nathan
-
can anybody tell me how i can call a vb activex dll from c++
They can. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke