I need to print tickets on an epson printer, but i cant get to import the required methods and properties from the dll correctly.
I have already downloaded the file (Microsoft.PointOfService.dll), and copied it to “C:\Program Files\Xojo\Xojo 2018r1.1\Xojo Libs”, system and system32 folders.
Declare Sub PosExplorer Lib "Microsoft.PointOfService" Dim pe As New PosExplorer()
The diplayed error says: “Expected a type name, but found method POSExplorer instead”
It is not recognizing the datatype PosExplorer.
Any help/comment/suggestion will be gladly recieved. Thank you!