I have been tryint to get TxtGluePrepFindString to work in a program, of mie
and with no luck. I have included "TxtGlue.h" and linked the
PalmOSGlue.lib. In fact I am using the TxtGlueStripSpaces succesfully so I
kow I have the lib. But with the code below I get a very ugly error:
textH = MemHandleNew(35);
addrName = MemHandleLock( textH );
TxtGluePrepFindString(recordAddress.fields[name], addrName, 35);
recordAddress.fields is a Char* as required by the function angain cpnfirmed
by using it in TxtGlueStripSpaces which al;so requires a Char* and its not
null.
The error I get is: App performed an Illegal Operation. It performed a
"bus error".
I tried to debug the application via CodeWright and the Emulator with a
Debug ROM but with a debug ROM I cant even open the app let alone hit the
button which execute the code anove. I get a MemoryMgrNw.c Line.4866, Chunk
under-locked. I don't
know where this error comes from since the same app in a normal ROM open
fine. The long and the short of it is 1. I'm lost and 2. What does
"TxtGluePrepFindString" actaully do. I mean maybe I can get by without
it????
Jason Z. Leidigh
Project Leader
UOL Internacional
Av.Libertador 1068 - Piso 3
Capital Federal - ( C1112ABN )
Buenos Aires - Argentina
T.E: 0054-11-5777-2446
Fax: 0054-11-5777-2402
www.uol.com.ar
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/