It is an unlikely situation that I found with a misplaced cut and paste: #0 0xb7c8950c in hb_gt_xwc_setPalette () from /opt/harbour/lib/libharbour.so #1 0xb7c8f112 in hb_gt_xwc_Info () from /opt/harbour/lib/libharbour.so #2 0xb7e74695 in hb_gtInfo () from /opt/harbour/lib/libharbour.so #3 0xb7dbb9ae in HB_FUN_HB_GTINFO () from /opt/harbour/lib/libharbour.so #4 0xb7cd4012 in hb_vmExecute () from /opt/harbour/lib/libharbour.so #5 0x0804866b in ?? () #6 0xb7cdafda in hb_vmDo () from /opt/harbour/lib/libharbour.so #7 0xb7cb6ace in main () from /opt/harbour/lib/libharbour.so
best regards, Lorenzo #include "hbgtinfo.ch" #define RGB(r,g,b) ( r + ( g * 256 ) + ( b * 256 * 256 ) ) function main() // ? "." /* --> adding this works */ Hb_GtInfo( HB_GTI_PALETTE, 6, RGB( 0xFF, 0xAE, 0x44 ) ) inkey( 0 ) return nil _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
