//handle GPT transceiver not found dialog box.
CGPTTransceiverNotFoundDlg *gptNotFound =
new CGPTTransceiverNotFoundDlg("SIMRAD EK60",
"GPT Transceiver Not Found");
// Check if GPTTransceiverNotFound dialog is open
// if so press the retry button until ok
while(gptNotFound-isOpen())
{
gptNotFound-PressButtonRetry();
Sleep(2000);
}