I get Debug Assertion failures when calling any of the CCWGPIB functions. Using the CWGPIB Active-X control’s properties I am able to send test strings to my GPIB instrument with no problems. However, when I run the program (compiled for debug) and call any of the CCWGPIB functions I will get a debug assertion failure in any number of CWnd functions. For example, if I call SetBoardNumber(0), it results in the following assertion error:
File - WINOCC.CPP
Method - CWnd::SetProperty()
Failure - ASSERT(m_pCtrlSite != NULL) // not an OLE control (not yet, at least)
My development environment is:
WIN2000
Measurement Studio 6.0
VC++ 6.0
I have built VC++ projects before on a Win98 machine using C
omponent works 2.0 and never encountered this problem. Can anyone help??