Intermittent Error (could not obtain Ole control window Handle) Delphi

Asked

Viewed 152 times

0

Good morning, I have an application that runs on 8,000 machines, however, I’m having an error in a small portion (average of 100) every day. I get msg (could not obtain Ole control window Handle) and can no longer close this msg on screen until the application needs to be closed, the problem it integrates with other components which depend on a stream to be disconnected when the application is closed.

I researched and tried to simulate everything that was mentioned, but all without success, I put an Application.Message to monitor the errors, and put not to register the error on the screen. The problem was masked but not solved, in Eventviewer I get the error saying that Windows closed the application for a problem in KERNELBASE.dll.

I use Windows 7 and Windows 7 on the machines, my application has a Webbrowser module which loads n third party applications(I even suspect that some of these applications could generate some integration error).

Thank you all.

1 answer

0

This error message in particular is very abstract, and it can deal with many different errors, first check if the machines used have the internet explorer installed. If the TWebBrowser won’t work because it uses IE dlls.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.