Crash with mdlLinkage_extractFromElement()

My program crashes when I compile it with  VS2005 Release version. Have traced the crash to mdlLinkage_extractFromElement(). When I compile with Debug version it does not crash.  I am wondering about the VS2005 default structure alignment requirements? Default (which is what I am using) is 8 byte boundaries. Any thoughts???

p = mdlLinkage_extractFromElement (&cadAttr, cpElement,  ATTR_ID, DATADEF_ID, _, _, _);

 

Thank you,

Warren
VS2005/SP1
v08.09.04.88

Parents Reply Children
No Data