Hi everyone,
I use the following statement to set the current focus to a specified field.
but when excute this statement, the emulator give me an error says
unallocated chunk of memory and read from memory location 0x43AA,
which is in an unallocated chunk of memory. what happened of this?
sorry, i made a stupid mistake, now it works well.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Thanks a lot!!
Dave Carrigan [EMAIL PROTECTED] ??:[EMAIL PROTECTED]
On Thu, Aug 14, 2003 at 12:53:10AM +0100, gamepower111 wrote:
In the FormHandleEvent function, i used the following codes, when the
form
can be closed correctly and return to the main form of the project. but
if i
From the size of the log file, it looks the leaks come from the
link-list. The log file contains the following sentence:
Non-relocatable chunk leaked at 0x0003C460, size = 24
Looks like you allocated the memory by MemPtrNew() [ or new if
C++ ] and then forgot to de-allocate it.
Would
Great! Now i decide to use WinEraseRectangle and WinDrawChars to do my
task...
Thanks Alan!
fan
Alan Ingleby [EMAIL PROTECTED] дÈëÏûÏ¢ÐÂÎÅ
:[EMAIL PROTECTED]
gamepower111 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
yes, WinDrawChars() is a good and easy way. but I have
I have changed the setting, and now the dump from the log file looks like:
(but I still dont know how to solve the problem:
0.000: WARNING:
0.000: WARNING: Memory Leaks
0.000: WARNING:
Hi everybody,
When I exit the palm os application, memory leak occurs. I have create a
link-list during running, but I have implemented a desconstractor for it.
From the size of the log file, it looks the leaks come from the link-list.
The log file contains the following sentence:
Non-relocatable
Thanks a lot. the problem has been solved!!
Ben Combee [EMAIL PROTECTED] ??:[EMAIL PROTECTED]
At 02:25 PM 8/14/2003, gamepower111 wrote:
I have changed the setting, and now the dump from the log file looks
like:
(but I still dont know how to solve the problem:
This is saying
I implemented a socket connection. When the connection was broken, the
Emulator will throw an alert saying : ErrorMgr.c, Line:203, ErrThrow called
without a pending ErrTry.
The codes are as following:
try {
clientSock cRevMsg; // recieve message from server.
// if the
thanks Alan.
yes, WinDrawChars() is a good and easy way. but I have to change the data
while the data has been updated. do you have a good suggestion of this?
fan
Alan Ingleby [EMAIL PROTECTED] дÈëÏûÏ¢ÐÂÎÅ
:[EMAIL PROTECTED]
gamepower111 [EMAIL PROTECTED] wrote in message
news:[EMAIL
It looks like you're using the non-exception version of POL with C++
exception handling. The non-exception version uses Palm OS's
ErrThrow/ErrTry system, while the C++ exception version uses real C++
exceptions.
yes, I am using POL CNetLibClientStream class to implement the socket
I have fixed the problem, I made stupid mistakes!
Thanks Ben!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hi everyone,
I used the following codes to create a label dynamicly, but why the lable
didnt appear on the form?
FormType *frmP = FrmGetActiveForm();
char* labelCaption = hello;
FrmNewLabel (frmP, 1500,labelCaption , 30,30, stdFont) ;
thanks.
fan
--
For information on using the
Hi all,
I have created a link-list during running, and I have implemented a
desconstractor for it. When I exit the palm os application, memory leak
occurs. From the size of the log file, it looks the leaks come from the
link-list. The log file contains the following sentence:
Non-relocatable
Hi everybody,
In the FormHandleEvent function, i used the following codes, when the form
can be closed correctly and return to the main form of the project. but if i
exit the application, memory leak occured. If I delete the frmCloseEvent
codes in this form, it works well. Who can tell me the
I created a link-list, and the link-list class provides destructor. the
destructor is as following:
void PlayerList::removeAll()
{
playerNode *pPlayerListPtr;
while (head)
{
MemPtrFree(head-player);
pPlayerListPtr = head-next;
MemPtrFree(head);
head = pPlayerListPtr;
}
}
When I exit
I use the following codes to implement sock communication with server (done
in VC):
CNetLib nlib;
nlib.Open();
CNetLibClientStream clientSock(nlib, netSocketTypeStream,
netSocketProtoIPTCP, localhost,6060,
);
clientSock msg; //msg = hello
Char
17 matches
Mail list logo