Hi, >> SetConsoleMenuClose() is an undocumented Windows API function, >> so IMO it's not a good idea to use it in Harbour. > > We are familiar with undocumented things since Clipper days.
That's okay, but it's quite dangerous thing to do, as the API may disappear (easy to handle, see commit), but worst it can also be changed (f.e. its parameters), which will cause an instant crash in Harbour. BTW, even in current committed implementation I don't know the return value of this API, I assumed it's BOOL, but can be void or anything. Maybe it doesn't matter in this callconv, but dangerous anyway. > And Harbour is and must be compatible with it 100% :) Okay, but this is not a Clipper compatibility issue. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour