dazappa007
Programmer
I'm trying to convert the following from VB to delphi.
Here's the line:
But it gives me this "[Error] Unit1.pas(33): Illegal character in input file: '"' ($22)"
Code:
GetCursorPos z
screendc = CreateDC("DISPLAY", "", "", 0&)
color (the Hex value is
Text1 = GetPixel(screendc, z.x, z.y)
Picture1.BackColor = GetPixel(screendc, z.x, z.y)
DeleteDC (screendc)
Code:
screendc := CreateDC("DISPLAY", "", "", 0);