Caroline,
I thought I needed tsErrChk and TS_StartModalDialog because I saw them in the TestExec.c source code. However, in my app, since I wsa having no luck, I simply do this...
gStartupWindow.loading = LoadPanelEx(0, UIR_FILE_NAME, LOADING, __CVIUserHInst);
gStartupWindow.status = LoadPanelEx(gStartupWindow.loading, UIR_FILE_NAME, TESTSTATUS, __CVIUserHInst);
gStartupWindow.nogpibcard = LoadPanelEx(gStartupWindow.loading, UIR_FILE_NAME, NOGPIBCARD, __CVIUserHInst);
InstallPopup(gStartupWindow.loading);
RemovePopup (0);
InstallPopup (gStartupWindow.nogpibcard);
RunUserInterface();
RemovePopup(0);
/* Display the Startup Init PopUp Panel Again. */
InstallPopup (gStartupWindow.loading);
DiscardPanel(gStartupWindow.loading);
/*
* Display initialization status user interface.
*/
DisplayPanel(gStartupWindow.status);
RunUserInterface();
DiscardPanel(gStartupWindow.status);
Questions
1) Do I need the engine for display type operations
2) I inherited this code and am not sure why for most of the panels, InstallPopup is used, then for the status panel, DisplayPanel is used. At that DisplayPanel call, I'm receiving a 'Library Function Error value == -4 panel, popup, or menu bar handle is invalid'
Thoughts?