Recent

Author Topic: GetKeyState doesn't work after installing Lazarus 2.0.6.  (Read 461 times)

Soob

  • New member
  • *
  • Posts: 8
GetKeyState doesn't work after installing Lazarus 2.0.6.
« on: February 25, 2020, 08:55:41 pm »
Hi,
I don't know what I'm doing wrong but it seems like the GetKeyState stopped working for me after installing Lazarus 2.0.6.

Quote
I'm getting an error "unit1.pas(34,18) Error: Identifier not found "VK_UP"".

I have added the LCLIntf to units but it didn't help. I've used it in several other projects and it always worked before.

Did I forget something or it's the new Lazarus problem?

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: GetKeyState doesn't work after installing Lazarus 2.0.6.
« Reply #1 on: February 25, 2020, 09:01:14 pm »
Forgot this one?

uses ........LCLtype;

Winni


Soob

  • New member
  • *
  • Posts: 8
Re: GetKeyState doesn't work after installing Lazarus 2.0.6.
« Reply #2 on: February 25, 2020, 09:28:08 pm »
Thank you!

 

TinyPortal © 2005-2018