You most likely need to allocate memory for the SerSettingsPtr parameter in
SerGetSettings. Try this:
{
SerSettingsType CurrentSettings;
SerGetSettings(refnum,&CurrentSettings);
}
-----Original Message-----
From: Gustavo Arijon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, June 15, 1999 6:03 PM
Subject: serial communication
>
>I 've been tryin' to work on serial communication. My idea was to print.
>The printer did not respond. I tried to check on the serial settings but if
>I use SerGetSettings after opening the port a get a privilege violation
>error.
>When I try to use SerSerSettings I get an error, saying that I tried to
>access the low memory. I am pretty new at this so I will really apreciate
>any help.
>Thanks in advance and excuse my english.
>
>Gustavo Arijon
>[EMAIL PROTECTED]
>
>
>
>
>