Can't open Asset X!

It won't get one as andi06 passed away.

It's working fine here in both Win10 and Win11.

Default Ownership is Administrator, so you need to be using an Admin Account.
What Operating System are you using?
Is it fully up to date?
What Antivirus are you using? Is it interfering with AssetX?
Is Microsoft blocking it? Can happen with Win 10 and 11, should be able to right click on the exe file and click Unblock.

Have you run SFC /scannow from an Admin Command prompt, may be a corrupt system file causing the problem.

I'd suggest having a look at your Sisters Laptop and see just what you are missing in the way of Microsoft Visual C++ Redistributables under Control Panel > programs and features
And check your .net is up to date, check Windows update and that you have enabled .NET Framework 3.5 and .NET Framework 4.8, again Programs and Features > Turn Windows Features On or Off.

Default Ownership is Administrator, so you need to be using an Admin Account.

I checked my sister's laptop and made sure I have everything needed from there to my new computer, but it still won't open!
 
Last edited:
I've just double checked EVERY code file that builds AssetX. Richedit is NOT mentioned in any of them.

We do use a "shell" command that depends on the target file extension but as far as I can see we've only used it for *.chm help files. Check your OpenWith list in Win11 for *.chm files.

And one more thing for you to check... Search the AssetX.INI file for "richedit".. You may have set it up as an external tool for AssetX. If so get rid of it. Just delete the line with it in. If it's in a numbered list, re-number and items that follow the richedit entry. The line numbers must have no gaps.. The AssetX.INI file is not overwritten during updates, so you may have an old tool entry.

I will not be doing any further updates to AssetX. The Delphi Compiler and code libraries for it are now over 20 years old and are 32 bit. My 64 bit Pascal compiler does not have the necessary libraries to build AssetX, and it's way too complicated to rewrite without the libraries .

The late Andi Smith was the brains behind AssetX, I just provided the Trainz related file decodes and the scripting software. Even so it took the pair of us almost two years to get it up and running. As I said it's extremely complicated.
 
Last edited:
I've just double checked EVERY code file that builds AssetX. Richedit is NOT mentioned in any of them.

We do use a "shell" command that depends on the target file extension but as far as I can see we've only used it for *.chm help files. Check your OpenWith list in Win11 for *.chm files.

And one more thing for you to check... Search the AssetX.INI file for "richedit".. You may have set it up as an external tool for AssetX. If so get rid of it. Just delete the line with it in. If it's in a numbered list, re-number and items that follow the richedit entry. The line numbers must have no gaps.. The AssetX.INI file is not overwritten during updates, so you may have an old tool entry.

I will not be doing any further updates to AssetX. The Delphi Compiler and code libraries for it are now over 20 years old and are 32 bit. My 64 bit Pascal compiler does not have the necessary libraries to build AssetX, and it's way too complicated to rewrite without the libraries .

The late Andi Smith was the brains behind AssetX, I just provided the Trainz related file decodes and the scripting software. Even so it took the pair of us almost two years to get it up and running. As I said it's extremely complicated.

I checked the INI file, but there's no "richedit"
 
OK it seems this can be due to

RichEdit line insertion error.

This error message is due to a size limitation with richedit components for some versions of Windows.
An exception error is raised when trying to insert text greater than 64KB.
It has to do with the version of riched32.dll that you're using on your computer.

you should have riched32.dll or riched20.dll files on your PC, latest riched32.dll should be version 10.0.19041.1 in C:\Windows\system32 size 10kb, latest riched20.dll should be 5.31.23.1231 size 598kb. There are older versions in C:\Windows\sysWow64 and a couple of other places, however pretty sure you need the latest version in the System32 folder. If they are corrupted then SFC /scannow in an admin console should fix them.

If they are not the latest versions is your copy of Windows fully up to date? Check Windows update.

If that doesn't work you may be looking at re-installing Windows.
 
Back
Top