Page 1 of 1

Re: RunTime error 217

Posted: Wed Dec 06, 2017 11:12 am
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.

Re: RunTime error 217

Posted: Wed Dec 06, 2017 1:57 pm
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

Re: RunTime error 217

Posted: Wed Dec 06, 2017 5:50 pm
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?

Re: RunTime error 217

Posted: Thu Dec 07, 2017 5:08 pm
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.