[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 :
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
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.
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.
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...
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 ?
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.
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.
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.
:mad:
[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
:D