At 12:53 PM 12/3/2004, you wrote:
Hello,

I'm using the Palm OS Developer Suite and I'm getting "undefined reference" to "FldReplaceText" and to "WinInvalidateRect".

I have already #included <Field.h> and <Window.h>, but the error still persists.

You should only need to #include <PalmOS.h> and all of the OS header files will be included.


Do you see in your Problems list any thing that looks like

../src/AppMain.c:174: warning: implicit declaration of function `FldReplaceText'
../src/AppMain.c:175: warning: implicit declaration of function `WinInvalidateRect'


This happens because those API functions don't exist. WinInvalidateRect is only in the Palm OS Protein API, not the 68K API. There is no FldReplaceText API function at all in Palm OS.



-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/



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

Reply via email to