Hi group,

I am getting an Access Violation reading address 0x00000000 when trying to 
convert a string to a FlpDouble type.  Here is a snippet of code causing the 
problem...

hTxt= FldGetTextHandle( GetObjectPtr( pForm, fldAlbumin ) );
FldSetTextHandle( GetObjectPtr( pForm, fldAlbumin ), NULL );
pszAlbumin= MemHandleLock( hTxt );
// This next line is where the simulator crashes...
dblAlbumin.fd= FlpAToF( pszAlbumin ); // <-- Problem here...

pszAlbumin is a Char *
dblAlbumin is a FlpCompDouble

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

Reply via email to