Armenian Knowledge Base  

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

LinkBack Thread Tools
Old 27.10.2001, 03: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

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

Thread Tools

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

All times are GMT. The time now is 03:13.

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