I am calling a method in a fll file. It works fine in VFP7 SP1 but not in VFP8 SP1. It returns error number 1098 and a display a user error saying "cannot open printer in barcod32" The method in the fll file in supposed to return a handle to the printer to print barcodes. Here is the code, which I am using.
SET LIBRARY TO "D:\barcod32.fll"
tcPrnName = GETPRINTER()
tnPaperSiz = 1
tcOrient = "P"
STORE AOpenDC(tcPrnName,tcOrient,tnPaperSiz) TO nHandle
Any idears why this will work in VFP 7 SP1 and not in VFP 8 SP1
Thanks
John
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement