July 26th, 2010, 07:00 AM
Does anybody know how to use a array proccess on the new managed syntax?
I think it´s something like this:
array<Process^>^Processes = Process::GetProcesses();
for (Int32 i = 0 ; i < Processes->Length ; i++)
p = dynamic_cast<Process^>(Processes->IndexOf);
Last edited by cilu; July 26th, 2010 at 01:43 PM.
July 26th, 2010, 07:41 AM
You think? You tried it? Do you have problems with it? What is sw?
July 26th, 2010, 09:04 AM
Man, I´m just trying to convert the code, relax!!
Moderator, I would like the topic to be renamed.
Last edited by KimGonzales; July 26th, 2010 at 01:27 PM.
July 26th, 2010, 01:46 PM
Kim, please don't change the original question to a completely different topic. The replies to that original question become totally out of context this way. Whenever you have a new topic, create a new thread. And please use code tags when you post code samples.
It should be
Process^ p = Processes[i];
July 26th, 2010, 02:09 PM
So the dynamic_cast isnīt really necessary !?
August 12th, 2010, 02:01 AM
I have no information about of this, pl. i need suggestion
thanks for suggestion
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.