Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Crash while calling SelectionGetFirstRowInColumn() Collapse All
Subject Author Date
Upanshu Yadav Sep 8, 2010 - 12:11 AM

Hi i am getting an assertion in debug mode but not in Release mode while calling SelectionGetFirstRowInColumn(0)


I am pasting my  code please tell me what can be the possible cause of this assertion?


unsigned long CDRReportGrid::GetSelectedCount()

{

 int nSelectionCount = 0;

 int nSel = SelectionGetFirstRowInColumn(0);

 while(nSel >= 0)

  {

 nSelectionCount++;

 nSel = SelectionGetNextRowInColumn(0, nSel);

  }

  return nSelectionCount;

}


I am getting the assertion in the line in bold.

Technical Support Sep 8, 2010 - 4:53 AM

Please show us the call stack listing where the assertion failure occurrs.