Question about the prototype of MessageDlg()?
Posted: Wed Jun 28, 2006 6:23 am
I use BCB5 and TsiLang V5.3.2. After I upgrade to TsiLang V6.0.2,
My program could not be compiled since the prototypr of MessageDlg is changed to:
int __fastcall MessageDlg(const AnsiString Msg, Dialogs::TMsgDlgType DlgType, Dialogs::TMsgDlgButtons Buttons, int HelpCtx, const Dialogs::TMsgDlgBtn DefaultBtn, const Dialogs::TMsgDlgBtn CancelBtn);
There are two new parameters: DefaultBtn and CancelBtn. Why?
How to compile my program successfully? I don't want to modify my source code.
My program could not be compiled since the prototypr of MessageDlg is changed to:
int __fastcall MessageDlg(const AnsiString Msg, Dialogs::TMsgDlgType DlgType, Dialogs::TMsgDlgButtons Buttons, int HelpCtx, const Dialogs::TMsgDlgBtn DefaultBtn, const Dialogs::TMsgDlgBtn CancelBtn);
There are two new parameters: DefaultBtn and CancelBtn. Why?
How to compile my program successfully? I don't want to modify my source code.