I have read few of the questions and answers in the forum. However I am still having problem with calling dialog from DLL.
Case :
I tried to use DoModal to open a dialog. The dialog is opened but Labview hangs there and I couldnt select things from my dialog.
Here is my code:
AFX_MANAGE_STATE(AfxGetStaticModuleState());
CInputVoltage dlgInputV;
dlgInputV.DoModal();
Case 2:
I use Create to create a dialog box. Labview closes when I tried to run the VI.
Here is the code:
AFX_MANAGE_STATE(AfxGetStaticModuleState());
CInputVoltage dlgInputV;
dlgInputV.Create(IDD_DIALOG1,NULL);
dlgInputV.ShowWindow(SH_SHOW);
----
I am a beginner on VC++ and LV. Please advise. Thanks.