- Forum
- CodeTyphon Studio
- CodeTyphon Studio Components and Libraries
- Networking Development
- Problema with Synapse Serial and ARM Build
×
Components and Libraries for Networking Development, discussions, problems and suggestions
Question Problema with Synapse Serial and ARM Build
- German Pablo Gentile
-
Topic Author
- Offline
- Junior Member
-
Less
More
6 years 8 months ago #8441
by German Pablo Gentile
Donald Shimoda [Team RO] - Blogs:
blogs.remobjects.com/blogs/donald
donaldshimoda.blogspot.com/
Problema with Synapse Serial and ARM Build was created by German Pablo Gentile
On this code
function GetSerialPortNames: string;
var
sr : TSearchRec;
begin
Result := '';
if FindFirst('/dev/ttyS*', $FFFFFFFF, sr) = 0 then
raise this exception
synaser.pas(2408,39) Error: range check error while evaluating constants (4294967295 must be between -2147483648 and 2147483647)
function GetSerialPortNames: string;
var
sr : TSearchRec;
begin
Result := '';
if FindFirst('/dev/ttyS*', $FFFFFFFF, sr) = 0 then
raise this exception
synaser.pas(2408,39) Error: range check error while evaluating constants (4294967295 must be between -2147483648 and 2147483647)
Donald Shimoda [Team RO] - Blogs:
blogs.remobjects.com/blogs/donald
donaldshimoda.blogspot.com/
Please Log in or Create an account to join the conversation.
- German Pablo Gentile
-
Topic Author
- Offline
- Junior Member
-
6 years 8 months ago #8442
by German Pablo Gentile
Donald Shimoda [Team RO] - Blogs:
blogs.remobjects.com/blogs/donald
donaldshimoda.blogspot.com/
Replied by German Pablo Gentile on topic Problema with Synapse Serial and ARM Build
I just change the ATTRIBUTE to a lower number , i think is safe . Example:
///if FindFirst('/dev/ttyS*', $FFFFFFFF, sr) = 0 then
if FindFirst('/dev/ttyS*', $FFFFFFF, sr) = 0 then
///if FindFirst('/dev/ttyS*', $FFFFFFFF, sr) = 0 then
if FindFirst('/dev/ttyS*', $FFFFFFF, sr) = 0 then
Donald Shimoda [Team RO] - Blogs:
blogs.remobjects.com/blogs/donald
donaldshimoda.blogspot.com/
Please Log in or Create an account to join the conversation.