Flash ocx "Class not registered" on Windows 7 x64

I have a WPF application that uses Flash10c.ocx developed on a 32 bit machine. I did not need to register ocx on my dev machine, I just installed the last flash, added the link and started coding. When testing on a 64-bit system, I get the old "class not registered", which, I think, means that I need regsvr ocx. Is it possible to just copy the 32-bit ocx (I'm sure its 32-bit, as it is in C: \ Windows \ System32 \ Macromed on the dev system), into the 64-bit system and register it?

Update: regsvr32 / i flash10c.ocx with the error "The flash10c.ocx module was loaded, but the DllRegisterServer call ended with error code 0x80004005"

Update 2: I refused this and decided to run Flash only on 32-bit systems. If someone has a better answer, I would like to hear it, but I mark the current offer, as I answered in order to give credit for that.

+3
source share
2 answers

The reason it doesn't work for you is because your WPF application runs as 64-bit.

The .NET application can run both 32-bit and 64-bit; and the CLR is a JIT application for any architecture the application runs on - in this case the 64-bit version.

, , 64- 32- dll. . 64- 64- DLL . 32- 32- DLL . COM- ; .

Adobe Flash 32- dll. Adobe (, , ) 64- .

WPF.NET 32- -dll, 32- . Visual Studio .NET x86, Any CPU.

:

  • x86
  • 64
  • Itanium

Flash, , Itanium.

. fooobar.com/questions/17112/....

+4

, - 32- . , 64- . , ocx, , .

1: Adobe 64- ( ) ( , 64- 64- )

2: Flash 64- .

+3

Source: https://habr.com/ru/post/1717514/


All Articles