Join Date: 10 2001
Uploads: 0Reputation: 0 | 0
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]
Join Date: 09 2001
Location: inside myself
Uploads: 0Reputation: 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.
И повешенные могут качаться в неположенную сторону. /С.Е.Лец/