I have a problem with registration dll file.
I copied test.dll file to C:\Windows\SysWOW64 and C:\Windows\System32 directories.
I tried to register using the 32-bit version regsvr32.exe:
C:\Windows\SysWOW64> c:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\test.dll
And using the 64-bit version regsvr32.exe:
C:\Windows\System32> c:\Windows\System32\regsvr32.exe C:\Windows\System32\test.dll
In both cases, an error occurs: The module "C:\Windows\SysWOW64(or System32)\test.dll" may not compatible with the version of WIndows that you're running. Check if the module is compatible with an x84 (32-bit) or x64 (64-bit) version of regsvr32.exe.
I check test.dll dependencies:
- C:\windows\system32\KERNEL32.DLL
- C:\windows\system32\USER32.DLL
- C:\windows\system32\ADVAPI32.DLL
- .........
- C:\windows\system32\JVM.DLL
The last dll (JVM.DLL) I copied from C:\Program Files\Java\jre1.8.0_60\bin\server to C:\windows\system32, because my test.dll using jvm.dll.
I tried to do as it is written here, but without result...
Help me please.