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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only