// Handle to the currently running application database
DmOpenRef AppDB;
SysGetModuleDatabase(SysGetRefNum(), NULL, &AppDB);
// Handle to the currently running application database
DmOpenRef AppDB;
SysGetModuleDatabase(SysGetRefNum(), NULL, &AppDB);
- Result=FrmCustomAlert(AppDB,AlertID,GetFullMessage().c_str(),"","");
+ Result = POS_FrmCustomAlert (AppDB, AlertID, m_message.c_str(), "", "");