Recent

Author Topic: LCL wighout Lazarus  (Read 803 times)

cwall

  • Newbie
  • Posts: 1
LCL wighout Lazarus
« on: February 26, 2020, 12:51:26 pm »
I want to get printer work wighout gui.
I followed https://wiki.freepascal.org/Using_the_printer to get the example worked with lazarus.
Then I followed https://wiki.lazarus.freepascal.org/Using_the_LCL_without_Lazarus and get the code compiled succeed.
But when I run it, it raise error:
An unhandled exception occurred at $080A22DD:
EAccessViolation: Access violation
  $080A22DD
  $080A1843
  $080A16F3
  $080493B2

I add the printer4lazarus, but fpc report link errors.
How should I use fpc to compile the source?
Thanks.

zeljko

  • Hero Member
  • *****
  • Posts: 1830
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: LCL wighout Lazarus
« Reply #1 on: February 26, 2020, 01:38:27 pm »
You can try with nogui widgetset but I seriously doubt that printer will work without gui since it's implemented by gui widgetsets (win32,gtk2/3,qt,qt5,cocoa etc)

 

TinyPortal © 2005-2018