>>> That's a good question. Maybe the best solution would be to >> add it as HB_FSETDEVMODE() and leave FSETDEVMOD() as >> a compatibility wrapper. >> This also helps hbmk2 to build when HB_COMPAT_C53 is disabled. > > So let's add HB_FSETDEVMODE()
Okay. I'll add this one. >> [ BTW it's not fully compatible, as C5.3 returned the old >> dev mode value. ] > > Yes, I know. I think we should change: > BOOL hb_fsSetDevMode( HB_FHANDLE hFileHandle, USHORT uiDevMode ) > to: > int hb_fsSetDevMode( HB_FHANDLE hFileHandle, int iDevMode ) > > and also return previous value or -1 on error and then update FSETDEVMOD() > to work like in Clipper. I can make such modification. Thank you, it would very nice. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour