Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

RunTime error 217

Post Reply
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: RunTime error 217

Post by salvadordf »

Hi,

Make sure you copied all the code in the DPR and PAS files from the SimpleBrowser demo to your project. If it works in the SimpleBrowser demo, it should work in your application.

There are a lot of information about fixing the RunTime error 217 in google and it seems related to registry corruption, virus infections, etc.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: RunTime error 217

Post by salvadordf »

It's the first time I see that error message and I can't help you unless I see the code you added to your application.

Have you tried your app in other computers?

Please, read this from Microsoft :
https://answers.microsoft.com/en-us/win ... 5a2?auth=1
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: RunTime error 217

Post by salvadordf »

Your code is correct and it works fine.
I tested it in a new project and it works.

What windows version are you using?
Are you compiling your app in 32bit or 64bit?
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: RunTime error 217

Post by salvadordf »

I tested several CEF4Delphi demos and a beta version of BriskBard with the latest CEF binaries on Windows 10 1709 and all of them work correctly.

I can't reproduce your error and all the information about that error in Internet points to a Windows error due to registry corruption, incomplete Windows updates, incomplete app installation or uninstallations, bad DLL registrations, virus infections, incorrect regional settings and even outdated system DLLs like msvcrt.dll or stdole32.dll.

Maybe it's a problem with Delphi in Windows 10 :
https://stackoverflow.com/questions/319 ... windows-10
https://forums.embarcadero.com/thread.j ... eID=883169

I'm afraid I can't help you, sorry.
Post Reply