Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing on delphi 10.5 olympus #11

Open
koxo opened this issue Jul 29, 2021 · 1 comment
Open

testing on delphi 10.5 olympus #11

koxo opened this issue Jul 29, 2021 · 1 comment

Comments

@koxo
Copy link

koxo commented Jul 29, 2021

I have downloaded the 4.95 version and install it i delphi 10.5, all is ok.
Then i have add the SynPDF path (i have downloaded the last version of SynPDF of course) from https://github.com/synopse/SynPDF).
if i change {.$DEFINE PDF_SYNOPSE} to {$DEFINE PDF_SYNOPSE}, when i try to compile, i get 70 errors and a message "impossible to find "SynCommons.pas", even if the SynPDF folder is in the library path !

@koxo
Copy link
Author

koxo commented Jul 30, 2021

I have add SynCommons after SynPDF (line 1097) and modify line 3451 with
DevMode := PDevMode(GlobalLock(DeviceMode)); --> DevMode := PDevMode(Winapi.Windows.GlobalLock(DeviceMode));
And then i compile, it's now ok
strange, if i delete those modifications and clean and recompile; it works again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant