Key To Heaven - Support - Fix for Windows Vista Players



Paid Features - FAQ - Requirements - Fix for Windows Vista Players - Bugs & Errors



Fixes for Windows Vista


General Information

In order to play key to heaven you need to register dll file/s. Vista differs from XP because it's harder to register the files. So if you enconter a ActiveX Object error you will need to follow the instructions below. If your error is related to another file you may need to download it here; And follow the short guide below.


Register dll file

First you need to turn of UAC - to turn it off all you have to do is open the "Start Menu", then press on "Control Panel". And after that you will need to press "User Accounts". And finally you will "Turn user account control on or off". Now you can register files without them being rejected. When you run the game most often it says what file your missing in the error message. So copy the name and download the file here.

There are 2 ways to register the file, you can either drag the dll onto the file regsvr32.exe locatedin C:/Windows/System32 or you can do it through the run box in the start menu and type: regsvr32.exe filename.dll


Now you have to restart your computer, and it works.


ActiveX Object Error

Firstly please ensure you have followed the steps explained on our other troubleshooting pages as it could be related to a .ocx issue (thus much easier to fix), if however you are specifically getting an error message related to an ActiveX Object and you are running windows vista, you will need to download the Visual Basic 6 DirectX7 .dll file first.


Download dx7vb.dll for Vista


Once you have downloaded this file, place it on your desktop and navigate to your start bar as shown below. Instead of going to the run prompt, type CMD in the search box.



Now, right click on CMD and choose "Run as Administrator" - for some reason even if you have full administrative privileges and even if you have UAC disabled, Vista will not allow you to use the command prompt to register environment variables, services, dll's or ocx files if you do not specifically run your application in this way.



Now we need to navigate to this .dll file and register it with Vista. Since we are now running cmd.exe with administrative privileges we should have free-reign over the operating system. Once you are prompted, type the following (replace the username "lstewart" with your own windows username):




Press enter and you should be informed that the .dll was registered successfully. Take a deep breath and run Mirage Realms, it should now work! If you have any further Vista-Specific issues, or questions related to this procedure - please raise them on the forums.

Thanks to Fox for this guide.


Extra Information & Ways to Register

If all the above fails you can read these more rough instructions:

I recommend Attempt 1, 3 and 4. At least one of those should fix your problem. But if they dont, try another one. If all this fails, try googeling for it (attempt 5).


Attempt 0
Disable UAC, then install the library files, they can be found on the Download page.


Attempt 1
To get the dx7vb.dll file to register, do this:

Alright, I found out the main problem here. Its the security of vista. Thats whats causes "The module 'Dx7vb.dll' was loaded but the call to the DllRegisterServer failed with error code 0x80070005."

To turn it off all you have to do is "Start" "Control Panel" "User Accounts" "Turn user account control on or off" After that, download and register the .ddl files.

Google the DLL and you will get it. You can drag the dll onto the file regsvr32.exe in C:/Windows/System32 or you can do it though the run box: regsvr32.exe Dx7vb.dll

You will have to restart the computer, but it works.

Short fix:
disable the UAC then registering the .dll/.ocx files


Attempt 2
Use this url as a reference:
It explains some about the problem and how you can fix it.


Attempt 3
Have you typed cmd in the Start Search box above the Start Orb and when cmd.exe
appears at the top of the Start Menu, right clicked on it and selected "Run as
Administrator" and then executed the regsvr command?


Attempt 4
This error means that regsvr32 was not able to access and/or update the registry. Check the permissions on the part of the registry where access is denied. You can run regmon to manually fix the registry.
Make sure you start your Command Prompt with Administrator privileges.
Right click the Command Prompt shortcut and click Run as Administrator.
If you don't do this regsvr32 will fail with errors similar to what you are

Source: and


Attempt 5
Google for it, it has tons of different fixes to get it to work for vista, search for: was loaded but the call to DllRegisterServer failed with error code 0x8002801c


Attempt 6
You don't HAVE to disable UAC to register dll's. So far I have only found one other method of doing this though, nothing else seems to work.

Step 1 >> Navigate to C:\Windows\System32 and Copy regsvr32.exe to your desktop, do not move it.

Step 2 >> Right click the copy of regsvr32.exe and select Properties -- Compatibility

Step 3 >> Under Privilege Level check "Run this program as an administrator" Click Apply and Ok.

Step 4 >> Drag your dll or ocx you need to register onto the newly copied and elevated regsvr32.exe. The file should register without disabling the UAC.

The reason you have to create a copy is because you cannot change the privilege levels on the original revsvr32.exe in your System32 folder. I am not sure why, probably just because of some deeper system privilege things which I don't really want to change. This works good but is kind of a hassle, however if you have paranoid people who would rather not disable the UAC then this works well for them. Also, some dlls and other files can be registered like this:

Click the Windows Start Pearl thing and in your search/run type (without quotes) "regsvr32 C:\%filepath%\%dllname.dll%" then make sure you hold Ctrl + Shift down. This opens the file in administrator mode, it works sometimes but not always. Good thing to try first before doing the other long process.