Alexandre Barreto escreveu:
if (!(parametros = MemPtrNew(sizeof(SysAppLaunchCmdOpenDBType)))) {
return sysErrNoFreeRAM;
}
i tried that but i keep geting the erro in compilation
"ilegal implicit conversion from 'void *' to 'SysAppLaunchCmdOpenDBType *'

Typecast it.


if (!(parametros = (SysAppLaunchCmdOpenDBType *) MemPtrNew(sizeof(SysAppLaunchCmdOpenDBType)) ))


You'll force the compiler to transform a void* to a typed pointer.


Cheers !

J. Machado
[EMAIL PROTECTED]
Palmcon Consultoria (www.palmcon.com.br)
+55 21 9766-8116


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

Reply via email to