Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-03

last svn error

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

in the last svn (Lazarus 0.9.29 r23841 FPC 2.4.0 i386-win32-win32/win64) I got the following error during rebuild:
C:\lazarus_svn\components\opengl\glwin32wglcontext.pas(267,3) Error: Wrong number of parameters specified for call to "PrepareCreateWindow" what can I do?

Reply by email

Andrea Mauri
to Andrea Mauri

Il 05/03/2010 13.27, Andrea Mauri ha scritto:

C:\lazarus_svn\components\opengl\glwin32wglcontext.pas(267,3) Error: Wrong number of parameters specified for call to "PrepareCreateWindow"

I think is related to revision 23840:
lcl: change use of CreateParams:
- move TForm.PopupParent handling to CreateParams (it only chooses a right Parent handle)
- check also ParentWindow property when setting WndParent in CreateParams win32: use TCreateParams WndParent property for CreateWindow

andrea

Reply by email

Mattias Gärtner
to Andrea Mauri

Zitat von Andrea Mauri :

Show quoted text 9 lines
Il 05/03/2010 13.27, Andrea Mauri ha scritto: > C:\lazarus_svn\components\opengl\glwin32wglcontext.pas(267,3) Error: > Wrong number of parameters specified for call to "PrepareCreateWindow" I think is related to revision 23840: lcl: change use of CreateParams: - move TForm.PopupParent handling to CreateParams (it only chooses a right Parent handle) - check also ParentWindow property when setting WndParent in CreateParams win32: use TCreateParams WndParent property for CreateWindow

I don't have windows here at the moment. Can you create a fix?

Mattias

Reply by email

Andrea Mauri
to Mattias Gärtner

Il 05/03/2010 13.54, Mattias G?rtner ha scritto:

I don't have windows here at the moment. Can you create a fix?

sorry but I don't know what to do. I don't know why the patch that introduce the error was submitted and what those function do. andrea

Reply by email