PDA

Click to See Complete Forum and Search --> : [SOLVE] can't register a dll file with sp2


cualex
Dec 1st, 2004, 11:03 AM
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 :

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

Dave Sell
Dec 1st, 2004, 01:53 PM
1) Unregister the DLL
2) Do a search in your registry and remove all instances of it
3) ReRegister the DLL

cualex
Dec 2nd, 2004, 03:10 AM
I did this already many times

Dave Sell
Dec 2nd, 2004, 09:53 AM
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.

Dave Sell
Dec 5th, 2004, 06:06 PM
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.

cualex
Dec 6th, 2004, 03:02 AM
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.

Ferris
Dec 6th, 2004, 08:16 AM
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...

cualex
Dec 6th, 2004, 10:12 AM
If the Dll does not have a legal copyright. Can he be blocked by XP SP2 ?

Dave Sell
Dec 6th, 2004, 10:15 AM
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.

Sam Hobbs
Dec 6th, 2004, 05:22 PM
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.

cualex
Dec 8th, 2004, 02:47 AM
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.

:mad:

cualex
Dec 9th, 2004, 03:57 AM
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


:D