Hi,

 

I migrated my small app from D2007 to D2010 and I have a small problem with
the synaser tool. When I receive a data packet which contains bytes between
128 and 255 sometimes those bytes transformated in other int values between
1000 and 10000. When the serial data packet contains bytes between 0 and 128
everything is ok.

 

I know that this problem is from the migration from D2007 to D2010
(unicode). The data from the serial device it's ok, because I'm using a port
monitor to see the communication.

 

When I send data to the device I'm using AnsiString and I'm waiting for
AnsiString result. I think that the problem is in the RecvBuffer function,
where the buffer pointer is pointing to an AnsiString.

 

Do you have any ideas?

 

Thank you. 

 

Best regards,

Levente Kocsis

 

 

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to