Click to See Complete Forum and Search --> : IDisposable


KimGonzales
July 26th, 2010, 07:00 AM
hey guys,

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);
.
.
.
}

Thanks!

cilu
July 26th, 2010, 07:41 AM
You think? You tried it? Do you have problems with it? What is sw?

KimGonzales
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.

Thanks.

cilu
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];

KimGonzales
July 26th, 2010, 02:09 PM
So the dynamic_cast isnīt really necessary !?

mani3355
August 12th, 2010, 02:01 AM
hi,



I have no information about of this, pl. i need suggestion


thanks for suggestion



regards,
phe9oxis,
http://www.guidebuddha.com