eskomk Guest
|
Posted: Fri May 30, 2008 3:03 pm Post subject: Tying to write OPOS SO for Line Display |
|
|
Hi,
I am a newbie in OPOS.
I am trying to write an OPOS SO to an app which uses OPOS 1.6 and it
uses an OPOS CO.
The "line display" is in fact a TFT display, and SO talks with it
through a socket.
Socket interface functions OK, the CO - SO is a pain.
We can not use POS for .NET due to app.
Can you direct me to a sample code of an SO ?
At the moment
When trying to use it through the MonroeCS CO control
(OPOSLineDisplay.ocx, version OposCCOs-1_11_001),
Open gives code 104 (=OPOS_E_NOSERVICE), and
get_OpenResult() gives code 305 (=OPOS_OR_BADIF).
What these return codes really means ?
In Control Programmer's Guide
(OLE for Retail POS, Release 1.6)
this is said in page 18, item 5:
CLIP -->
.... (This ensures that the Service Object supports at least the
minimum methods of a valid Service Object for the device class, before
calling any of its methods.)
CLIP <--
What am I doing wrong, why I cannot reach the Service Object ?
-Esko |
|