Results 1 to 12 of 12

Thread: [SOLVE] can't register a dll file with sp2

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Angry [SOLVE] can't register a dll file with sp2

    I'm actually developping an application who call a dll.
    This dll was developped in VB6.
    I was working properly, Before I updated my windows WX SP1 to SP2 (I format the hard drive).
    And now I cannot use my program because there is an error who says that my program (dll) is not install on my computer.

    To install the dll I copy it to system32 directory and launch this instruction :

    Code:
    regsvr32 name.dll
    So it was working properly but not with SP2 it is not working.
    I reinstall two computer with SP2 it is not working, the one wh still have SP1 it is working.

    Is anybody can help me?
    Thanks
    Last edited by cualex; Dec 9th, 2004 at 05:37 AM.

  2. #2
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    1) Unregister the DLL
    2) Do a search in your registry and remove all instances of it
    3) ReRegister the DLL

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6
    I did this already many times

  4. #4
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    PM me for my email and then email me the DLL. I will see if I can register it on my SP2 machine at home.

  5. #5
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: can't register a dll file with sp2

    I tried it on a SP2 machine just now. I did not register the DLL prior to the test.

    I launched the EXE and clicked the 1st button which said SUCCESS. Then I clicked the second button (TEST) which did not show me any errors.

    This means it works fine on SP2.

  6. #6

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Re: can't register a dll file with sp2

    Thanks for your help.
    I'm a bit surprise you do not have an error message. It is the first SP2 OS where it works.
    It mean that maybe there is no link between my error and SP2.
    I will retry.

    This programm allow me to emulata a VB Picture type in Windev Language.
    So I can insert image in table(it is FlexGrid ActiveX).
    So now my project is in stand by because this fonction do not work since I reinstall my system in SP2 in both computer.

  7. #7
    Addicted Member
    Join Date
    Dec 2004
    Posts
    143

    Re: can't register a dll file with sp2

    When you register the DLL make sure you have the full path of the dll in the command window (not just the name).
    The easiest way to achieve this is to type regsvr32 then drag the .DLL file onto the command window. This will ensure all paths are correct.

    If you are still having probs then try a tool like Com Explorer. This shows all dll's etc and their dependancies along with any errors...

  8. #8

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Re: can't register a dll file with sp2

    If the Dll does not have a legal copyright. Can he be blocked by XP SP2 ?

  9. #9
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: can't register a dll file with sp2

    Quote Originally Posted by cualex
    If the Dll does not have a legal copyright. Can he be blocked by XP SP2 ?
    That's never happenned to me. Besides, remember that I ran your Test on a SP2 machine and the test was successful.

  10. #10
    Member
    Join Date
    Dec 2004
    Location
    California
    Posts
    39

    Re: can't register a dll file with sp2

    Quote Originally Posted by cualex
    I was working properly, Before I updated my windows WX SP1 to SP2 (I format the hard drive).
    Perhaps there is something that was not re-installed.

  11. #11

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Re: can't register a dll file with sp2

    I don't know what to check, why It is not working in this computer I just BUY and install XP SP2.
    So i will uninstall windows SP2 and reinstall windows SP1.


  12. #12

    Thread Starter
    New Member
    Join Date
    Dec 2004
    Posts
    6

    Resolved [SOLVE] can't register a dll file with sp2

    after the install of SP1 , it was not working, so I knew it was not because of the update to sp2.
    a dll file of vb runtime was not bundle with the windows install .

    msvbvm60.dll ( this one was alredy there)
    VB6FR.DLL (this one was missing)
    after adding the missing file it is working properly cool



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