I'm having trouble with TWebBrowser (D10 Seattle on Windows 10). I get always the error 'Could not obtain OLE control window handle'.

I'm having trouble with TWebBrowser (D10 Seattle on Windows 10). I get always the error  'Could not obtain OLE control window handle'.

I've simply created a form, dropped a TWebBrowser and try to visualize a local HTML file. If I do this in a simple test project it works, if I do this in one of my complex projects I get that error. I've tried everyting found on the web: create the TWebBrowser at runtime (in several ways), use of coinitiliaze/couninitialize, ...  but I'm not able to solve this problem.

Any ideas?

Comments