Hi,
still not beeing able to get things running.
I've checked with the sample application, and I'm doing exactly the same things when creating the GLib.


Maybe there's something twisted with globals used by API calls in the GLib or so on.
I have my functions declarations from my glibs .h file here. Maybe someone finds something thats impossible (like passing char-pointers, although I tested that with a modified mersenne-twister sample app and it worked there). I do not use any (of my own) global or static data in the definitions.


------------------------------------------------------------------------
#include <PalmOS.h>
#include "BtLib.h"

MemPtr  MyGetObjectPtr(UInt16 objID);
void    MyDrawBitmap(UInt16 objID, Coord x, Coord y);
void    MySetField(UInt16 objID, Char *str);
void    MyAdaptDoubleString(Char *str);
void    MySetFieldDouble(UInt16 objID, double d, double min, double max);
Boolean MyCheckFieldDouble(UInt16 objID, double *d);
Boolean MyIsChecked(UInt16 objID);
void    PrintDouble(double x, Char *s);
Boolean StrToDouble(const Char* str, double *dbl);
Char *  ConvertBtErrToString(Err errno);
------------------------------------------------------------------------


I also test compiled the mersenne twister sample application, and when compiled as single prc without glib, it's even a slightly smaller prc file. Same happens in my application. So is it in general a good idea to use a glib in means of saving code space in my application?


Please help me, I'm really desperate...
Thx,

Jan

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to