Well, the compiler seems to be complaining about CharPtr. Did you forget to
#include PalmCompatibility.h?

-- Keith






"Richard Burmeister" <[EMAIL PROTECTED]> on 03/20/2000 01:44:33 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Richard Burmeister" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/HQ/3Com)
Subject:  Converting to 3.5 data types




I am having some difficulty converting a 3.1 app to 3.5.  After changing to
the latest data types, I am getting compiler errors like the following:

Error : ')' expected
starter.c line 144  static Int16 IsBadRegistration( CharPtr regCode );
-- 'regCode' is underlined.

Error : illegal function definition
starter.c line 145  static UInt16 CountChar( Char ch, LINE L );
-- 'CountChar' is underlined.

Error : illegal use of direct parameters
starter.c line 146  static Boolean DoPenDown( FormPtr frmP, EventPtr
eventP );
-- 'static' is underlined.

These functions used to be defined as:

static Int IsBadRegistration( CharPtr regCode );
static UInt CountChar(Char ch, LINE L);
static Boolean DoPenDown( FormPtr frmP, EventPtr eventP ); // no change here

Any ideas about what is wrong here?



--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palm.com/devzone/mailinglists.html






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to