Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ProcessShellCommand () crashes after migrating an application which was originally written in VC 6.0 to VS2010 Pin
Wes Aday11-Jul-12 3:05
professionalWes Aday11-Jul-12 3:05 
GeneralRe: ProcessShellCommand () crashes after migrating an application which was originally written in VC 6.0 to VS2010 Pin
Richard MacCutchan11-Jul-12 3:08
mveRichard MacCutchan11-Jul-12 3:08 
GeneralRe: ProcessShellCommand () crashes after migrating an application which was originally written in VC 6.0 to VS2010 Pin
Wes Aday11-Jul-12 3:36
professionalWes Aday11-Jul-12 3:36 
QuestionRe: ProcessShellCommand () crashes after migrating an application which was originally written in VC 6.0 to VS2010 Pin
David Crow11-Jul-12 3:12
David Crow11-Jul-12 3:12 
AnswerRe: ProcessShellCommand () crashes after migrating an application which was originally written in VC 6.0 to VS2010 Pin
V K 211-Jul-12 3:31
V K 211-Jul-12 3:31 
GeneralRe: ProcessShellCommand () crashes after migrating an application which was originally written in VC 6.0 to VS2010 Pin
David Crow11-Jul-12 3:42
David Crow11-Jul-12 3:42 
GeneralRe: ProcessShellCommand () crashes after migrating an application which was originally written in VC 6.0 to VS2010 Pin
V K 211-Jul-12 3:51
V K 211-Jul-12 3:51 
GeneralRe: ProcessShellCommand () crashes after migrating an application which was originally written in VC 6.0 to VS2010 Pin
jschell11-Jul-12 8:35
jschell11-Jul-12 8:35 
Questionhow to get a short file name before file creation? Pin
Le@rner11-Jul-12 0:26
Le@rner11-Jul-12 0:26 
AnswerRe: how to get a short file name before file creation? Pin
pasztorpisti11-Jul-12 0:33
pasztorpisti11-Jul-12 0:33 
GeneralRe: how to get a short file name before file creation? Pin
Le@rner11-Jul-12 0:40
Le@rner11-Jul-12 0:40 
GeneralRe: how to get a short file name before file creation? Pin
pasztorpisti11-Jul-12 2:04
pasztorpisti11-Jul-12 2:04 
GeneralRe: how to get a short file name before file creation? Pin
Richard MacCutchan11-Jul-12 3:07
mveRichard MacCutchan11-Jul-12 3:07 
GeneralRe: how to get a short file name before file creation? Pin
pasztorpisti11-Jul-12 10:37
pasztorpisti11-Jul-12 10:37 
GeneralRe: how to get a short file name before file creation? Pin
Richard MacCutchan11-Jul-12 22:54
mveRichard MacCutchan11-Jul-12 22:54 
QuestionRe: how to get a short file name before file creation? Pin
David Crow11-Jul-12 3:13
David Crow11-Jul-12 3:13 
AnswerRe: how to get a short file name before file creation? Pin
jschell11-Jul-12 8:37
jschell11-Jul-12 8:37 
GeneralRe: how to get a short file name before file creation? Pin
David Crow11-Jul-12 9:50
David Crow11-Jul-12 9:50 
GeneralRe: how to get a short file name before file creation? Pin
jschell12-Jul-12 10:19
jschell12-Jul-12 10:19 
GeneralRe: how to get a short file name before file creation? Pin
Le@rner31-Jul-12 1:28
Le@rner31-Jul-12 1:28 
QuestionPure virtual methods Pin
Rocky65110-Jul-12 23:12
Rocky65110-Jul-12 23:12 
GeneralRe: Pure virtual methods Pin
pasztorpisti11-Jul-12 0:27
pasztorpisti11-Jul-12 0:27 
AnswerRe: Pure virtual methods Pin
jschell11-Jul-12 8:40
jschell11-Jul-12 8:40 
QuestionSTL Containers store a copy? Pin
piul9-Jul-12 22:49
piul9-Jul-12 22:49 
AnswerRe: STL Containers store a copy? Pin
Richard MacCutchan9-Jul-12 23:07
mveRichard MacCutchan9-Jul-12 23:07 
piul wrote:
Or do I need to use a collection of the type collection<*myData>?

That would be a collection of pointers, which would probably lead to memory leaks and/or loss of information. Your original code takes copies of the objects and adds them to the collection, so the data is retained.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.