bachar
asked on
Regsvr32 Failure
Hi,
Regsvr32 failed with following message:
RegSvr32: DllRegisterServer in \....\..MyFile.dll failed.
Return code was: 0x8007007e
It fails to all com dll projects I'm creating.
It doesn't failed for MyProjectps.dll (Proxy \ Stub) creating from com server project.
Doe's someone know what is the problem and how to fix it?
Thank you very much,
Michael.
Regsvr32 failed with following message:
RegSvr32: DllRegisterServer in \....\..MyFile.dll failed.
Return code was: 0x8007007e
It fails to all com dll projects I'm creating.
It doesn't failed for MyProjectps.dll (Proxy \ Stub) creating from com server project.
Doe's someone know what is the problem and how to fix it?
Thank you very much,
Michael.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Which language do you use? When you use Win32 and IDL you will need to create the DllRegisterServer function yourself. "Languages" like ATL will add that code by itself. What I am saying is that you might've missed something.
Languages like Visual Basic add the necessary code by itself, and when compiled it will also register itself on your machine. Tried that yet?
regards,
CJ
Languages like Visual Basic add the necessary code by itself, and when compiled it will also register itself on your machine. Tried that yet?
regards,
CJ
Are your dlls calling other dlls? in this case, even if the dll you try to register is found, it will fail because it tries to solve all dependencies. Try to use depends.exe to check this.
May you copy the regsvr32.exe to %system% dir: c:\windows\system or c:\winnt\system32 for winnt. Go to the path where your Dll is and type : regsvr32 <filename.dll>
bachar,
These questions are still open and our records show you logged in recently. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days. Please note that the recommended minimum for an "Easy" question is 50 points.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20186509
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20100277
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20005648
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=11452298
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=11404058
https://www.experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20141685
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20145151
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20116236
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20094685
https://www.experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=20032846
EXPERTS: Please leave your thoughts on this question here.
Thanks,
Netminder
Community Support Moderator
Experts Exchange
These questions are still open and our records show you logged in recently. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days. Please note that the recommended minimum for an "Easy" question is 50 points.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20186509
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20100277
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20005648
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=11452298
https://www.experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=11404058
https://www.experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20141685
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20145151
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20116236
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20094685
https://www.experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=20032846
EXPERTS: Please leave your thoughts on this question here.
Thanks,
Netminder
Community Support Moderator
Experts Exchange
Admin notified of user neglect. Force/accepted by
Netminder
Community Support Moderator
Experts Exchange
Netminder
Community Support Moderator
Experts Exchange
1. Find where your .dll is
2. check PATH environment variable and place the description to the path on the first place.