VB6 OCX registration error


G

Guest

Hi,
One of my programs requires the mschrt20.ocx file to be installed. I
installed SP6 for VB6 last night and it generated this error:
error registering the OCX c:\windows\system32\oleaut32.dll

I had my anti-spyware program and my anti virus and firewall turned off.
How do I fix this error?
Thanks!
Sue
 
Ad

Advertisements

D

Detlev Dreyer

Sue said:
One of my programs requires the mschrt20.ocx file to be installed. I
installed SP6 for VB6 last night and it generated this error:
error registering the OCX c:\windows\system32\oleaut32.dll

Try Start > Run: REGSVR32 c:\windows\system32\oleaut32.dll
If an error message appears, the only way to solve that problem is
installing the "Dependency Walker" either from the WinXP CD or from
www.dependencywalker.com

That tool will show you the cause, probably a missing DLL or missing
export function of a linked DLL. Read the help file since some of the
reported problems (eg. missing export function in a delay-load dependent
module) do *not* cause your original problem. Repost in case of further
questions after installing.
 
G

Guest

Dear D-D,
Dependency Walker is reporting that DWMAPI.DLL and EFSADU.DLL are missing.
When I ran the run commnad withthe regserv string you provided, it reported
return coe 0x80070005

Where can I find the missing files and how best shall I proceed?
Thanks!
Sue
 
D

Detlev Dreyer

Sue said:
Dependency Walker is reporting that DWMAPI.DLL and EFSADU.DLL are
missing. When I ran the run commnad withthe regserv string you
provided, it reported return coe 0x80070005

Where can I find the missing files and how best shall I proceed?

You don't need these files because they are not the causing your
problem. IIRC, DWMAPI.DLL comes with Windows Vista and EFSADU.DLL
is present under WinXP Pro only. The "Dependency Walker" shows an hour
glass in front of these file since they are delay-load dependent modules
as already mentioned in my previous post. Thanks for posting the error
code since this makes clear that the "Dependency Walker" is of no help
in this specific case. See also
http://www.iol.ie/~locka/mozilla/troubleshooting.htm (excerpt)

| Regsvr32 returns the error "Registration failed GetLastError returns
| 0x80070005"
|
| * The error code means "Access Denied".
| * It may happen on Windows NT, 2000 or XP.
| * The ActiveX control registration needs to write into the
| HKEY_CLASSES_ROOT part of your registry and will fail with this
| error if permission is denied.
| * Do you have sufficient access permissions on your machine to
| register a control?
| * Try registering the control from an administrator or power user
| account.
 
G

Guest

D-D,
i rebooted into safe mode and chose the administrator account, and got the
same 0x80070005 return code, so it isn't my firewall or anti-spamware. I
have no problem installing software and writing to the registry. What steps
may I take next?
Thanks!
Sue
 
D

Detlev Dreyer

Sue said:
i rebooted into safe mode and chose the administrator account, and got
the same 0x80070005 return code, so it isn't my firewall or
anti-spamware. I have no problem installing software and writing to
the registry. What steps may I take next?

Well, that's not usual and missing privileges under the administrator
account are caused by malware only, usually. Log in as administrator
again, next: Start > Run: Regedit

Right click the registry hives and add the missing privileges if
applies.
 
Ad

Advertisements

G

Guest

will do. Please, exactly what do I add and where do I add it. I'm doing a
full system scan now to ensure there's nothing unintended lurking on my
system.
Sue
 
Ad

Advertisements

D

Detlev Dreyer

Sue said:
will do. Please, exactly what do I add and where do I add it.

That depends on the current privileges. At least, the admistrators
should be added when missing. Anyway, you might be better off when
consulting a local technician. Messing around with the registry from
afar is no good idea unless you have the necessary skills. Sorry.
I'm doing a full system scan now to ensure there's nothing unintended
lurking on my system.

Software (malware) being able to limit the administrator's permissions
is easily capable to bypass any anti-virus while running. You may either
want to boot the system using a BartPE CD with integrated anti-virus or
leave your system to a technician which might be the better way. Good
luck!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top