Hello.
Just checked: fresh installed CEF 80.0.8 on Berlin.
All demos compile well except one: SimpleOSRBrowser show more than 51 syntax error
.
.
Can you check it, please?
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.
Problem with demo example
-
- Posts: 8
- Joined: Wed Mar 18, 2020 4:18 am
Problem with demo example
You do not have the required permissions to view the files attached to this post.
- salvadordf
- Posts: 4304
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Problem with demo example
Thanks for reporting the issue!
Judging by the screenshot I think the touch events and types are not supported in that Delphi version.
I'll create a separate demo with OSR + touch support.
Judging by the screenshot I think the touch events and types are not supported in that Delphi version.
I'll create a separate demo with OSR + touch support.
- salvadordf
- Posts: 4304
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Problem with demo example
Please, download CEF4Delphi again and try the SimpleOSRBrowser demo.
Let me know if I missed something.
Edit : I see that some types are missing in not so old Delphi versions. Try adding this unit to the demo if you still miss those types :
https://github.com/ahausladen/ObjectPas ... ointer.pas
Let me know if I missed something.
Edit : I see that some types are missing in not so old Delphi versions. Try adding this unit to the demo if you still miss those types :
https://github.com/ahausladen/ObjectPas ... ointer.pas
-
- Posts: 8
- Joined: Wed Mar 18, 2020 4:18 am
Re: Problem with demo example
After adding to project "WinApi.WMPointer.pas" most of errors was fixed.
But problem still present (4 errors)
. .
But any other demo, for example OSRExternalPumpBrowser compiled without errors
But problem still present (4 errors)
. .
But any other demo, for example OSRExternalPumpBrowser compiled without errors
You do not have the required permissions to view the files attached to this post.
- salvadordf
- Posts: 4304
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Problem with demo example
The latest CEF4Delphi update had new TBufferPanel.BufferDraw arguments that were needed in order to fix an issue with SELECT HTML elements.
Update CEF4Delphi following these steps :
https://www.briskbard.com/forum/viewtop ... =772#p3481
I don't have Delphi Berlin installed.
Can you make a list with the variable types that are missing in that version?
It would be helpful to fix these building issues.
Thanks!
Update CEF4Delphi following these steps :
https://www.briskbard.com/forum/viewtop ... =772#p3481
I don't have Delphi Berlin installed.
Can you make a list with the variable types that are missing in that version?
It would be helpful to fix these building issues.
Thanks!
-
- Posts: 8
- Joined: Wed Mar 18, 2020 4:18 am
Re: Problem with demo example
Now it compile well except one:
E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE
I just insert
const IMAGE_FILE_LARGE_ADDRESS_AWARE = $0020;
before flag and now demo working well, thanks!
E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE
I just insert
const IMAGE_FILE_LARGE_ADDRESS_AWARE = $0020;
before flag and now demo working well, thanks!
Re: Problem with demo example
Hi,
I have been following this thread, and it helped me a lot to solve almost all issues to finally get this SimpleOSRBrowser compiled in Delphi 7.
I am using Delphi 7 and cef_binary_102.0.8+g60bd108+chromium-102.0.5005.61_windows32
But there is one casting issue that I am not capable of fixing. The following two lines return the error:
[Error] uSimpleOSRBrowser.pas(566): Array type required
[Error] uSimpleOSRBrowser.pas(567): Array type required
The lines that generate this error are 566 e 567 in TForm1.chrmosrPaint (bellow):
src := @PByte(buffer)[TempSrcOffset];
dst := @PByte(TempBufferBits)[TempDstOffset];
Can you help me to do the correct CASTING in DELPHI 7?
I have been following this thread, and it helped me a lot to solve almost all issues to finally get this SimpleOSRBrowser compiled in Delphi 7.
I am using Delphi 7 and cef_binary_102.0.8+g60bd108+chromium-102.0.5005.61_windows32
But there is one casting issue that I am not capable of fixing. The following two lines return the error:
[Error] uSimpleOSRBrowser.pas(566): Array type required
[Error] uSimpleOSRBrowser.pas(567): Array type required
The lines that generate this error are 566 e 567 in TForm1.chrmosrPaint (bellow):
src := @PByte(buffer)[TempSrcOffset];
dst := @PByte(TempBufferBits)[TempDstOffset];
Can you help me to do the correct CASTING in DELPHI 7?
- salvadordf
- Posts: 4304
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Problem with demo example
Try this :
https://stackoverflow.com/questions/53818802/how-to-fix-error-array-type-required-in-delphi
https://stackoverflow.com/questions/53818802/how-to-fix-error-array-type-required-in-delphi