Just a guess, but you may have to provide a variable of type UInt16 for the
last parameter.  The function is probably trying to replace the return value
of "outLength" in there.

Regards,

Steve

-----Original Message-----
From: Sam Trimble [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 26, 2000 6:20 PM
To: Palm Developer Forum
Subject: TxtFindString Error....


Hey,
 I'm trying to use the following code to get the starting posistion of a
string but I always get a "NULL result ptr...." error. Can someone help me
out on what I'm doing wrong here?

ULong  someULong = 0;

if (TxtFindString(myCharPtr, "String I'm Searching For", &someULong, NULL));




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

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

Reply via email to