Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dllregisterserver in iviewers failed

When I try to run Oleview I get an error saying that DllRegisterServer failed for IViewer.dll (sorry I wanted to post a screenshot but I can't until I get 10 reputation =p)

Oleview will run but like the msg says, you can't look at interfaces which is exactly what I want to do.

I found my iviewer.dll and ran regsvr32 on it just fine. So I'm not sure whats up.

like image 635
Guybrush Threepwood Avatar asked Oct 01 '11 16:10

Guybrush Threepwood


2 Answers

Ack, should have done more due diligence. Found this on msdn which explains that you need to run Oleview as admin. Stupid UAC.

I tried it out and running as admin works for me.

like image 96
Guybrush Threepwood Avatar answered Nov 17 '22 08:11

Guybrush Threepwood


You only need to run it the first time as admin. Make sure you open a tlb file though, so it registers IVIEWERS.DLL as COM server into the registry. After that you can run it as a normal user. This is explained in the Windows SDK readme, by the way.

like image 45
Larrys S. Smith Avatar answered Nov 17 '22 07:11

Larrys S. Smith