View Full Version : getting richtx32.ocx to work in windows 7

August 27th, 2012, 14:43
I know this has probably been covered, but I can't seem to find an answer for this.

For some reason, VB Decompiler lite (and P32Dasm) will not work on Windows 7 64-bit. I want to be able to include this in a tutorial, but am having no luck. When you try to run it, you get a "The module "richtx32.ocx" may not be compatible with the version of Windows that you're running..."

I have tried the various solutions I could find, including
1. Running "regsvr32.exe c:\Windows\system32\richtx32.ocx"
2. Running "regsvr32.exe c:\Windows\syswow64\richtx32.ocx"
3. Running these with administrator rights in the command window
4. Trying to install the VB6 runtime
5. Trying to find different version of the richtx32.ocx file

but It won't work. Any help would be appreciated...

August 27th, 2012, 15:31
I have solved the problem. If anyone is interested, here are the required steps:

1. You MUST use the older version of the ocx file (and the version from VB Decompiler Lite of "Richtx32.ocx" also works with VB Decompiler Pro and P32Dasm).

2. You MUST copy it into the sysWoW32 folder inside the Windows install directory.

3. You MUST run a command prompt with admin priviledges.

4. You MUST register it by using: c:\Windows\syswow64\regsvr.32 c:\Windows\syswow64\richtx32.ocx

5. The correct richtx version will then be registered.