No... not exactly - it's not about the nice printer (which works with old
serial on all OS5 because of this problem) but about the additional driver
to connect Symbol 1504 (nice small and blue) barcode scanner to the printer.
I need some control signals which the old serial is not giving.

Dave, it seems to be an OS bug, it's difficult to be compiller one working
right with old one and corrupting my locals with the new serial :(
damn.
once again... I've reported a couple of bugs, getting tired and Palm will
hate me if I continue :(

So... no way to solve it easy... must go through all 150 functions and
change them... I have no time for this game :(


"Alessandro Zummo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> On Thu, 11 Sep 2003 09:05:03 -0700
> Flex <[EMAIL PROTECTED]> wrote:
>
> > I have a fairly simple code opening serial manager, send 2 bytes and try
> > to read 1, something like that:
> >
> > void test()
> > {
> >     char tmp[6];
> >     int result;
> >
> >     tmp[0]=0x0d;
> >     tmp[1]='v';
> >     SrmSend(...);
> >     SrmReceive(ref,tmp,1);
> >     result=tmp[0];
> > }
>
> > so... this works on everything but OS5 devices - tested on T&C, on OS5
> > the device resets itself. Strange. If I change it to use old serial
> > manager it works... but now I NEED the new one and don't know what to
do.
>
>  I suppose this is for your nice printer ;) We too have a product which
uses
> the serial port and the new serial manager is doing quite well.
>
>  From the little piece of code i can see seems everything ok, apart
> that SrmReceive requires a bit more parameters.
>
>  I would suggest to use Palm types (Char, UInt16, etc) rather
> than ANSI ones (char, ...), just to be sure you are on the right side wrto
> the Palm OS prototypes (the compiler should give you warnings anyhow...).
>
>  Btw, if you can show some more code, i'll see if I
> can find anything obviously wrong.
>
> -- 
>
>  Best regards,
>
>  Alessandro Zummo,
>   Tower Technologies - Turin, Italy
>
>   http://www.towertech.it
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to