Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted


I'm not sure how PinballX identify how flash is working, but on new systems it doesn't work
Recently I bought a laptop and a new dev PC.
On both I installed a clean version of VP , DBM and PinballX.
On both systems I have the issue that flash is giving an error that flash cannot be initialized

Doing the trick to remove the flash.ocx and reinstall PinballX results in the same.

When I create a new Visual Studio project, import the OCX from the PinbalLX directory, the OCX will show a SWF correctly
Form and object:

image.thumb.png.94a78c4e02b9195579f44590a858a195.png
simple code

image.thumb.png.532f3fa96230735645a4fe21fafd6647.png
Run:

image.png.89a96b0ff28555bd6787843290266df0.png

My cabinet PC is replaced in may 2022 and installed a fresh copy of PinballX as well. 
This machine is updated with every version and from the begin Flash is working and it is still working

Any suggestions how to fix this ?

 

log.txt PinballX.ini

Posted

Ill take a look soon. Last time I looked it was good on 64 bit but not 32 bit because of the Microsoft changes.

Unless I messed something up and i can't recall making any changes but if its a new setup it could be an older missing MS visual C++ runtime.

Cheers.

Tom.

Posted

Not getting the error here. Fresh install of PinballX but not Windows.

I'm betting its a missing VC runtime that I already have installed on this machine. I've done various tidy ups of the installer in recent times. Pretty sure that is the culprit.

 

09:18:19.70  19/12/2023:  PinballX Core - Version 6.03 x64
09:18:19.71  19/12/2023:  Microsoft Windows 10 Enterprise 64-bit (32GB)
09:18:19.71  19/12/2023:  Loading Settings
09:18:19.71  19/12/2023:  Initialize Component
09:18:19.74  19/12/2023:  Initialize Display
09:18:19.76  19/12/2023:  Testing Flash engine.
09:18:19.83  19/12/2023:  Loading PlugIns
09:18:19.86  19/12/2023:  Looking for startup images

Posted

Hi Tom,

I've got a new desktop pc so fresh copy of windows (11).

I get the "Error initializing flash engine" if i install either core or framework 64 bit version of 6.03, but the 32 bit framework version is ok. Hope that helps narrow it down a bit..

11:09:04.52  20/12/2023:  PinballX - Version 6.03
11:09:04.53  20/12/2023:  Microsoft Windows 11 Home 32-bit (32GB)
11:09:04.53  20/12/2023:  Loading Settings
11:09:04.54  20/12/2023:  Launching Startup Program: OBSMirrorPFLeft.bat
11:09:04.54  20/12/2023:  C:\CustomScripts\OBSMirrorPFLeft.bat 
11:09:04.56  20/12/2023:  Initialize Component
11:09:04.60  20/12/2023:  Initialize Display
11:09:04.62  20/12/2023:  Testing Flash engine.
11:09:04.64  20/12/2023:  Loading PlugIns
11:10:28.19  20/12/2023:  PinballX Core - Version 6.03 x64
11:10:28.44  20/12/2023:  Microsoft Windows 11 Home 64-bit (32GB)
11:10:28.44  20/12/2023:  Loading Settings
11:10:28.44  20/12/2023:  Launching Startup Program: OBSMirrorPFLeft.bat
11:10:28.44  20/12/2023:  C:\CustomScripts\OBSMirrorPFLeft.bat 
11:10:28.45  20/12/2023:  Initialize Component
11:10:28.48  20/12/2023:  Initialize Display
11:10:28.50  20/12/2023:  Testing Flash engine.
11:10:28.51  20/12/2023:  Error initializing flash engine.

(i did go back to v5.96 as well, but still no luck there with 64 bit and flash. It does work on the cab with 6.03 x64 so it probably is a missing runtime thing that was in an old installer version like you suspect)

Posted

Thanks for testing Tom and Scutters

I've removed all VC runtimes on 1 of my test machines (not able to go to the 2nd one :( 
I removed the Flash.ocx and reinstalled PinballX

only the following VC's are now installed  after installing PBX

image.png.33049c11ec3af90e998eecdb81e99d87.png

but still I have :

11:18:57.87  20-12-2023:  PinballX Core - Version 6.03 x64
11:18:58.43  20-12-2023:  Microsoft Windows 11 Home 64-bit (16GB)
11:18:58.43  20-12-2023:  Loading Settings
11:18:58.43  20-12-2023:  Initialize Component
11:18:58.47  20-12-2023:  Initialize Display
11:18:58.50  20-12-2023:  Testing Flash engine.
11:18:58.50  20-12-2023:  Error initializing flash engine.
11:18:58.51  20-12-2023:  Please try deleting flash.ocx in the installation folder and then reininstall PinballX.
11:18:58.51  20-12-2023:  You may need to change security properties on the file.
11:18:58.51  20-12-2023:  If PinballX does not initialize you should address this issue.

I even used Mcirosofts powershel ttol, to install all versions of vcredist (see https://vcredist.com/) , but that didn't fixed it at all.

do you want to share the cod that test the flash engine ? So we (Scutters and I) can do some tests without launching the complete frontend ?

Posted

@Tom Speirs
not sure if you changed a version, but I copied over my flash.ocx from my cabinet to the test machine.
and that is working 
 

2:52:51.39  20-12-2023:  PinballX Core - Version 6.03 x64
12:52:51.61  20-12-2023:  Microsoft Windows 11 Home 64-bit (16GB)
12:52:51.61  20-12-2023:  Loading Settings
12:52:51.61  20-12-2023:  Initialize Component
12:52:51.66  20-12-2023:  Initialize Display
12:52:51.69  20-12-2023:  Testing Flash engine.
12:52:51.85  20-12-2023:  Loading PlugIns

The wrong file is from 6.03. The correct flash.ocx is from a version of last year

image.png.9f67fb75385789cd3aa7d9f8be8cc90b.png

 

image.png.1df0f42839dc38f921bcef70c6cadc4d.png

I hope this helps

  • Like 1
Posted

i'm not sure but if i remember correctly they released a new file (not sure if it was the ocx file) that had a permanent block inside it to load it but i'm not sure this whats causing it. potentially the older file did not have this block yet if it is the cause

  • Draco1962 changed the title to [RESOLVED] Flash not working on new installed PC
Guest
This topic is now closed to further replies.
×
×
  • Create New...