"_SYS_CopyString" error with "Printer_Lib".

Just starting out? Need help? Post your questions and find answers here.
Little_man
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Mar 29, 2013 4:55 pm
Location: The Netherland

"_SYS_CopyString" error with "Printer_Lib".

Post by Little_man »

Program code in PB 5.72, x86 with "Printer_Lib.pb" gives the following error:

PureBasic - Linker Error
POLINK: error: Unresolved external symbol '_SYS_CopyString'.
POLINK: fatal error: 1 unresolved external(s).

Does anyone have a solution for this problem?

Little_man
Little_man
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Mar 29, 2013 4:55 pm
Location: The Netherland

Re: "_SYS_CopyString" error with "Printer_Lib".

Post by Little_man »

******************************************
PureBasic 5.72 (Windows - x86)
******************************************

Compiling C:\Dump\ASM\Printen_Bestelling.pbi
Loading external libraries...
Starting compilation...
179 lines processed.
Creating and launching executable.
Error: Linker
POLINK: error: Unresolved external symbol '_SYS_CopyString'.

POLINK: fatal error: 1 unresolved external(s).
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: "_SYS_CopyString" error with "Printer_Lib".

Post by BarryG »

Where do we get "Printer_Lib.pb" to test?
Little_man
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Mar 29, 2013 4:55 pm
Location: The Netherland

Re: "_SYS_CopyString" error with "Printer_Lib".

Post by Little_man »

 
Printer_lib "Download and modification":
The last version of Printer_Lib110_PB52X86.ZIP, https://www.rsbasic.de/backups/

Modification for PB 5.72, viewtopic.php?f=13&t=77070&p=568612&hil ... ib#p568612

Little_man
Little_man
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Mar 29, 2013 4:55 pm
Location: The Netherland

Re: "_SYS_CopyString" error with "Printer_Lib".

Post by Little_man »

 
This code gives the above error (by PB 5.72, x86):

Code: Select all

#PrinterLib_Include = 1

Print_OpenPrinter("Bullzip PDF Printer", "ORIENTATION = " + Str(#DMORIENT_PORTRAIT) + ", " + "PAPERSIZE = " + Str(#DMPAPER_A5))
Print_StartPrinting("Bestelling" + "_" + "Test")
  
Print_StopPrinting()
Little_man
Post Reply