[fpc-pascal] simple messagebox for windows

José Mejuto joshyfun at gmail.com
Tue Jul 5 19:32:56 CEST 2011


Hello FPC-Pascal,

Tuesday, July 5, 2011, 6:54:37 PM, you wrote:

JL> Trying to implement a win messagebox with timeout, I googled & found a
JL> mention of an undocumented messageboxtimeout api & its delphi call.

JL> See noddy program below - works for messagebox() with boolean false,
JL> unfortunately fails with boolean true & gives 'not found in user32' message
JL> in my xp.

MessageBoxtimeoutA = NO
MessageBoxTimeoutA = YES

Check the casing (capital T). For XP or later.

-- 
Best regards,
 José




More information about the fpc-pascal mailing list