Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters
Register

Reply
 
LinkBack Thread Tools
Old 27.10.2001, 04:34   #1
Младенец
 
Join Date: 10 2001
Location: india
Posts: 1
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Unhappy Problem when VB dll is called through VC++

hi,<BR>I have one dll in VB and one ATL COM service in VC++. The VB dll is imported in the VC++ service.When this Vb dll is registered to other system and the exe is run on that system then it can't create the object of the VB component. I found that if I rebuild the VC++ project after the VB dll is registered and run the exe then it works fine.. I need to start the VC++ service on the system where there is no development environment.So, I can't build the VC++ exe on that system.

Can someone please help me.

kamalakar<BR> [email protected]
Reply With Quote
Old 06.11.2001, 15:17   #2
Академик
 
greka's Avatar
 
Join Date: 09 2001
Location: inside myself
Posts: 5,369
Downloads: 0
Uploads: 0
Reputation: 18 | 5
Post

Actually VC++ registers your COM-application in a system after each build.<BR>That's an explanantion why it works after build.

All you have to do is just call "regsvr32.exe your_COM_app_name" on a machine you want to use.<BR>And if you want uninstall COM-app, then call regsvr32 with "/u" key.
__________________
И повешенные могут качаться в неположенную сторону. /С.Е.Лец/
Reply With Quote
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 00:49.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.