> 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);

  look at the last parameter :)

  the depth parameter is AOK :) you might want to pass a pointer to a   
  boolean, not a boolean in the last argument :)

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


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

Reply via email to