08-29-2013 10:42 PM
I am developing a VC++(Visual studio 2008, Window 7, 32bit) dll server project including Dialog with Measurement Studio (ver. 2009, standard ed.) ActiveX.
__int32 Test ()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
COceanTestDlg pDlg;
pDlg.DoModal ();
return 0;
}
Above code is a test function in dll and COceanTestDlg has a NI::CNiGraph member.
pDlg.DoModal () return -1 and it does not display dialog window.
If I remove NI::CNiGraph object from COceanTestDlg, it works well.
Any help?
09-11-2013 05:47 AM
06-27-2014 03:41 PM
This is my exact problem as well, any resolution?
06-29-2014 05:55 PM