MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013102 | VTK | (No Category) | public | 2012-04-17 02:22 | 2012-04-22 21:01 |
Reporter | jhChoi | ||||
Assigned To | |||||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | Kitware | ||||
Type | incorrect functionality | ||||
Summary | 0013102: problem with vtkStringArray (vtk5.10 rc2, vs2010) | ||||
Description | hi all i want to use as like below code. It was no problem under vtk.5.4.2 vs2008 but i upgraded the both of vtk and vs.(vtk5.10 rc2, vs2010) then i have problem with vtkStringArray. do InsertNextValue() but nothing in the array. how can i fix it? please help me. here is a fraction of my code --------------------------------------------- vtkStringArray* sarray = vtkStringArray::New(); char szFilter[] = "dcm files(*.dcm) || *.dcm"; CFileDialog dlg(TRUE, NULL, NULL, OFN_ALLOWMULTISELECT, szFilter); char buffer[4096] = {0}; dlg.m_ofn.lpstrFile = buffer; dlg.m_ofn.nMaxFile = 4096; if(IDOK == dlg.DoModal()) for(POSITION pos=dlg.GetStartPosition(); pos != NULL;) { CString strFilePath = dlg.GetNextPathName(pos); sarray->InsertNextValue(strFilePath); } else return false; | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-04-17 02:22 | jhChoi | New Issue | |||
2012-04-17 17:58 | Jean-Christophe Fillion-Robin | Note Added: 0028488 | |||
2012-04-19 21:10 | jhChoi | Note Added: 0028490 | |||
2012-04-22 21:01 | jhChoi | Note Added: 0028510 | |||
2012-04-22 21:01 | jhChoi | Status | backlog => closed | ||
2012-04-22 21:01 | jhChoi | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|