Hi respected members,

In my application,I have a function which performs very heavy mathematical
calculations.
It takes around 15 seconds for the next form to appear on the screen  after
clicking the button for this calculation.(probably because of the slow 68K
processor and  may be because the function retrieves records from the database
for performing calculations.)

Also I have to use many(around 37 ) global variables.

The  function works fine for the very first time but from second time and
onwards the function can only be executed on step by step tracing i.e.only in
the debug mode.
But even then while debugging it gives a runtime fatal error saying at any
point of time -
"XXX has just written directly to the memory location zero(NULL)."

My queries are -
Why does it  work fine just for the very first time only and not again ?
If it has to give a runtime fatal error then  why not for the very first time
?
Am I exceeding the memory limit since I've already used many global variables
?

Or is the control just jumping ahead ?
I am told that if this is the case(because it works fine for the first time),
I should use some API which will doze the processor for some time. Is it the
case really ?

Please reply soon.


Regards,
Neelesh.

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to