At 09:17 AM 9/6/2002 +1000, you wrote:
>I posted this message before, but it doesn't seem to have gone through.
>
>I'm using Codewarrior 4.0.1 and tring to do some simple serial communication.

You are actually using CodeWarrior for Palm OS R6, with IDE 4.0.1.

>I've got:
>
>#include <SerialMgr.h>
>
>Then later on I've got:
>
>error = SrmOpen(serPortCradlePort, baud, &newPortIDP);
>
>But every time I compile it says:
>
>Error : function has no prototype
>error = SrmOpen(serPortCradlePort, baud, &newPortIDP);

You haven't updated your installation to a new version of the Palm OS SDK 
(you're using SDK 3.1 that came with CWPalmOS R6), so when you include 
<SerialMgr.h>, you're getting the old serial manager which used a "Ser" 
prefix, instead of the new serial manager which uses a "Srm" prefix.


-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


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

Reply via email to