> // get all possible screen depths
> if(rom_version >= OSVersion35)
>    WinScreenMode(winScreenModeGetSupportedDepths, NULL, NULL, &scr_depth, 
> NULL);
> else
>    ScrDisplayMode(scrDisplayModeGetSupportedDepths, NULL, NULL, &scr_depth, 
> NULL);
> 
> Without the the ScrDisplayMode() function it works, but with it I get this:

#define ScrDisplayMode                   WinScreenMode
#define scrDisplayModeGetSupportedDepths winScreenModeGetSupportedDepths

thats what they are really.. now do you see what you need to do?

WinScreenMode(winScreenModeGetSupportedDepths, NULL, NULL, &scr_depth, NULL);

will work on 3.0+

---
Aaron Ardiri                        [EMAIL PROTECTED]
CEO - CTO                                           +46 70 656 1143
Mobile Wizardry                      http://www.mobilewizardry.com/



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

Reply via email to