>
> The error, or does the debugger identify the line...
I guess it is the debugger, I get a windows error box popping up with
the error.
I am Emulator illiterate, beyond loading & running an application. If I
get error messages, I know something is wrong.
>
> > > Does that call return anything? (I use {char buf[20];
> > > StrIToH(buf,error); WinDrawChars(buf,8,80,0);} in cases like this).
That actually worked pretty well. The only thing I was able to check
was the value of MathLibRef after MathLibOpen, and again before
MathLibClose. It showed the same value.
>
> > > I think there is a newer version of MathLib as well.
> http://www.probe.net/~rhuebner/mathlib.html
I'm running the latest from there. I guess that is 1.1, according to
the comments in the source code.
I've kind of got a solution at this point. I found a MathLibDemo
program, that I compiled and ran. It had other problems, I think
because of the 3.5 environment, but it exited the application OK. I
checked the Start App & Stop App functions, and found they don't run the
MathLibOpen function in the start app function, and don't check the
error code when they run MathLibClose in the stop app function. The
math functions are working OK this way, and I am not getting any
problems when closing the app. So I mimicked what they did. I am kind of
worried that my app, might not be cleaning up after itself properly, but
I'm going to move on, and fight the issue another time, when it rears
it's ugly head again.
Thanks for the help.
Mike Gregoire
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/