Recent

Author Topic: Rewrite a function  (Read 3997 times)

PascalDragon

  • Hero Member
  • *****
  • Posts: 3335
  • Compiler Developer
Re: Rewrite a function
« Reply #15 on: May 20, 2021, 09:03:36 am »
Doesn't compile. I get

Quote
Compile Project, Target: project1.exe: Exit code 1, Errors: 3, Hints: 1
unit1.pas(33,8) Error: Identifier not found "PHWND"
unit1.pas(33,14) Error: Error in type definition
unit1.pas(37,12) Error: Illegal qualifier
unit1.pas(43,33) Hint: Conversion between ordinals and pointers is not portable


Yes, sorry, as dseligo said, use PHandle instead.

 

TinyPortal © 2005-2018