I am receiving an error indicating that their is no matching function for a call to MessageDlg()
in C++ Builder.
My header file does include <Vcl.Dialogs.hpp>
which is where the function is declared. The function is being called from within a TForm
class public function. Below is the offending code:
void MBInvalidPosition() {
MessageDlg("Invalid Position Selected. Please Try Again",
mtError,mbOK,0);
}
Any thoughts would be appreciated. Thanks.