|
-
May 17th, 2006, 04:47 PM
#1
Thread Starter
Junior Member
How to call Com server from VB application
Hi all ,
i have com object (c++) made as exe (not dll)
I need to access this com object from my vb application
How to regestrate it . For example if it were dll i could add it to refence.
-
May 22nd, 2006, 08:00 AM
#2
New Member
Re: How to call Com server from VB application
Try regsvr32 dllname from a cmd session.
-
Jun 4th, 2006, 06:16 PM
#3
Re: How to call Com server from VB application
No, regsvr32 isn't much help here.
An ActiveX EXE written in VB 6.0 will register itself the first time it is run. You can control the process using command line switches as well:
myactivex.exe /regserver
myactivex.exe /unregserver
Of course that isn't much help to a C++ programmer. I assume you'd need to make an API call like installer utilities do. Then again maybe whatever template framework you're using embeds code similar to that which the VB compiler does for its ActiveX EXEs?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|