Hi,
I have this code in three functions of my program. However, it run
correctly just in two of them. The code is exactly the same.
What is wrong? How could I fix it?
Thanks in advance..
Roberto
HandleTemp=MemHandleNew(200);
HandleOrder = DmQueryRecord(PVOrder, i);
RecOrder=MemHandleLock(HandleTemp);
UnPackOrder(RecOrder, MemHandleLock(HandleOrder));
if (StrCompare(RegCus->CdCus,RegOrder->CdCus))
...
************************** GLOBAL DATA **************************
typedef struct
{
Char *NrOrder;
Char *CDProd;
Char *DtOrder;
Char *CdCus;
Char *Vl;
Char *Qt
} StruRegOrder;
typedef StruRecOrder* RecOrderPtr;
typedef struct
{
char buffer[1];
} PackedOrder;
VoidHand HandleTemp;
Handle HandleOrder;
--
=========================================
| ___ |
| / \ Campanha contra e-mail com HTML |
| \ / FITA ASCII |
| \ / |
| X ASCII RIBBON |
| / \ Against HTML e-mail |
| / \ |
=========================================
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html