> Am I mistaken or isn't this the definition for WinScreenMode:
Yes, it is. So why are you trying to pass "true" for the parameter typed as a
"Boolean*"?
As for "ScreenDepth", why are you declaring it as an "int" when the function
clearly wants the address of a "UInt32"?
And why are you passing 6 parameters to a function that clearly takes 5?
-- Keith
"Ender Wiggin" <[EMAIL PROTECTED]> on 02/06/2001 08:10:38 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: "Ender Wiggin" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: WinScreenMode
I get this error when trying to debug my program
Error : cannot convert
'int *' to
'unsigned char *'
Lord.cpp line 150
WinScreenMode(winScreenModeSet,NULL,NULL,NULL,&ScreenDepth,true);
I defined ScreenDepth like this:
int ScreenDepth;
Am I mistaken or isn't this the definition for WinScreenMode:
WinScreenMode(WinScreenModeOperation operation,
UInt32 *widthP, UInt32 *heightP, UInt32 *depthP,
Boolean *enableColorP);
--
Thanks in advance
--
Nikue Harlley
Veni Vidi Vici
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/