... = sizeof( DEVMODE ); devmode.dmDisplayOrientation = hb_parnl( 1 ) ); devmode.dmFields = DM_DISPLAYORIENTATION; ChangeDisplaySettingsEx( NULL, &devmode, NULL, 0, NULL ); } #pragma ENDDUMP However I get this from BUILDCE Compiling... Harbour Compiler Alpha build 46.2 (Flex) Copyright ...