roznicki / delphichromiumembedded

Automatically exported from code.google.com/p/delphichromiumembedded
0 stars 0 forks source link

Application crashes on Browser.MainFrame.LoadUrl & Sometimes on App-Close #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create new Project 
2. Add TChromium control "chromium1"; set DefaultUrl = 'http://www.google.com'
3. Add TButton Control, onClick =   
chromium1.Browser.MainFrame.LoadUrl('http://www.bing.com');

What is the expected output? What do you see instead?
By clicking the button the control should open the requests website. Instead of 
this there is a race condition. Also the app crashes on closing very often.

What version of the product are you using? On what operating system?
Chromium:
http://chromiumembedded.googlecode.com/files/cef_binary_r181_VS2005-VS2008.zip

http://code.google.com/p/delphichromiumembedded/downloads/detail?name=dcef-r181.
7z&can=2&q=

Also I tried actual changes until r36.

Windows XP Pro / SP3
Delphi 7 Professional included Update 7.1 & ActionBand Update

Please provide any additional information below.
Also the demo apps crashes... On last thursday it worked on a Win7-Pro system; 
so maybe a XP-Problem? The application I compiled at Win7 also works on XP; but 
the same source crashes when compiled @ XP.

Original issue reported on code.google.com by mstrohfe...@googlemail.com on 21 Feb 2011 at 8:35

GoogleCodeExporter commented 9 years ago
I have the same problem with this method on Delphi 7 Enterprise (Win XP SP3). 
Problem is, that chromium1.Browser.MainFrame is not assigned and then you get 
this Access violation error with number $00000000.

Original comment by A.Cipi...@centrum.cz on 22 Feb 2011 at 11:14

GoogleCodeExporter commented 9 years ago

Original comment by hgourv...@gmail.com on 23 Feb 2011 at 1:59

GoogleCodeExporter commented 9 years ago
Why did you close this ticket as "invalid"? There are some people as I see 
having problems with this component and Delphi 7.... !?

I just tried the actual versions from today, also @ Win7-32. Also your 
guiclient crashes on LoadUrl...

Lines
115
196
201
329

Please take this problem serious... ;)

Original comment by mstrohfe...@googlemail.com on 24 Feb 2011 at 10:27

GoogleCodeExporter commented 9 years ago
I don't alway have time to explain and there is a google group for that ....
The comment 1 is non related and misunderstanding.
Comment 3:
It is not a bug from DCEF but from CEF dll itself, I have this problem 
sometimes in Delphi IDE only when debugging, I can't solve it.

Original comment by hgourv...@gmail.com on 24 Feb 2011 at 10:46

GoogleCodeExporter commented 9 years ago
I have Delphi 2009 and Delphi 7. 
I use basic example 'guiclient' from chromium embeded sources.

If I use Delphi 2009 everything goes fine. When I use Delphi 7, I get access 
violation error on calling functions as FBrowser.MainFrame.LoadUrl(), 
FBrowser.MainFrame.LoadFile() and FBrowser.MainFrame.LoadString(). There is the 
clear error in the pointer FBrowser.MainFrame, because is nil (not assigned). I 
tried it with all new releases of binaries and it doesn't depend on it.

Original comment by A.Cipi...@centrum.cz on 1 Mar 2011 at 1:33

GoogleCodeExporter commented 9 years ago
Same problem here.
- Delhi 7 ent. sp1
- windows 8.1 x64

Original comment by betoneto.tbo@gmail.com on 31 Jul 2014 at 8:31