Witam. Mam mały problem z zapisaniem aktualnej rozdzielczości ekranu.
Pisze tak:
rozdz_x.Caption := IntToStr(Screen.Width);
rozdz_y.Caption := IntToStr(Screen.Height);
Ale zawsze wyskakuje mi błąd:
"Project Project1.exe raised exception class EAccessViolation with message 'Access Violation at adress 0045B456 in module PROJECT1.EXE. Read of adress FFFFFFFF. Process stopped. Use Step or Run to Continue"