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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
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.
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.
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!
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?