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

Compiling error on DSiWin32 on D2009 (NonClientMetrics.SizeOf) #3

Open
GoogleCodeExporter opened this issue Apr 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Compile DSiWin32 with D2009

What is the expected output? What do you see instead?
C:\Dev\Delphi\Lib\OmniThreadLibrary\src\DSiWin32.pas(6396,53): error E2003: 
E2003 Undeclared identifier: 'SizeOf'

What version of the product are you using? On what operating system?
DSiWin32 1.72

Please provide any additional information below.

Construction "NonClientMetrics.SizeOf" supported since D2010, need change 
{$IFDEF Unicode}TNonClientMetrics.SizeOf{$ELSE}SizeOf(TNonClientMetrics){$ENDIF}
to
{$IF CompilerVersion < 
21.0}SizeOf(TNonClientMetrics){$ELSE}TNonClientMetrics.SizeOf{$IFEND}

Original issue reported on code.google.com by [email protected] on 10 Sep 2013 at 1:16

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

No branches or pull requests

1 participant