|
-
Jan 11th, 2002, 09:21 AM
#1
Thread Starter
Junior Member
Com object doesn't want to work
Hi,
I've got the following problem. I have a exe file which uses a com object. After I've created the setup I ran this setup on a clean windows 98 PC. After this I always get the Object and linking error. In order to solve this problem I've don the following :
- Register the dll (worked fine, no problems here)
- Look at the dependencies of the exe and the dll (no problems here)
- Compile the exe in about 30 ways, each time with a different link to the same object. Local paths as wel as netwok paths.
- Installed VB on this PC in it's smallest form. Surprise as I was that the dll worked now. This would mean that the dependencies aran't correct. But which dendency of VB is the right one to add to my setup.
I'm a out of options. If you have any suggestions or ideas, please react. If you need more information, please mail me direct so I can reply ASAP.
Using VB6 SP5 on W2000 sp2 platform.
Sincerely,
Robbert
-
Jan 15th, 2002, 12:38 PM
#2
Addicted Member
I presume DCOM has been installed, if not I am inluding 2 links for the download packages, 1 for Windows95 and 1 for Windows98.
http://www.microsoft.com/com/dcom/dcom95/dcom1_3.asp
http://www.microsoft.com/com/dcom/dcom98/dcom1_3.asp
When you install VB it installs DCOM. The deployment and package wizard should include this.
-
Jan 16th, 2002, 04:07 AM
#3
Thread Starter
Junior Member
I solved the problem by creating a clean workdisk without the dll files. Also removed the registered dll entries in the registry. Then recompile everything on this disk. Works fine now.
Robbert
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
|