Results 1 to 3 of 3

Thread: Com object doesn't want to work

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Location
    Netherlands
    Posts
    17

    Unhappy 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

  2. #2
    Addicted Member darrenl's Avatar
    Join Date
    Jul 2000
    Location
    Portsmouth, UK
    Posts
    148
    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.
    Dazzer

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Location
    Netherlands
    Posts
    17
    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
  •  



Click Here to Expand Forum to Full Width