Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Given the list of AssemblyConstraints how do I list them textually? For example
// error checking removed for brevity CComPtr<AssemblyConstraints> pConstraintList; pAssDef->get_Constraints(&pConstraintList) ; _tprintf_s (_T("The assembly has %d constraints\n"),pConstraintList->Count); const int ikNum = pConstraintList->Count ; for (int iConstraint = 0 ; iConstraint < ikNum ; i++) { CComPtr<AssemblyConstraint> pConstraint; hr = pConstraintList->... what to put here? ... how to print out more data here...? }
How do I get each constraint from the list? And if there is some example of printing out the data that would be good too. I'd need a C++ solution...
Solved! Go to Solution.