IDisposable
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: IDisposable

  1. #1
    Join Date
    Jul 2010
    Posts
    7

    Question Array Proccess

    hey guys,

    Does anybody know how to use a array proccess on the new managed syntax?
    I think it´s something like this:
    Code:
    array<Process^>^Processes = Process::GetProcesses();
    	for (Int32 i = 0 ; i < Processes->Length ; i++)
    	{
    		p = dynamic_cast<Process^>(Processes->IndexOf);
    		.
    		.
                    .
    	}
    Thanks!
    Last edited by cilu; July 26th, 2010 at 01:43 PM.

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: IDisposable

    You think? You tried it? Do you have problems with it? What is sw?
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Jul 2010
    Posts
    7

    Angry Re: IDisposable

    Man, I&#180;m just trying to convert the code, relax!!
    Moderator, I would like the topic to be renamed.

    Thanks.
    Last edited by KimGonzales; July 26th, 2010 at 01:27 PM.

  4. #4
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: IDisposable

    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
    Code:
    Process^ p = Processes[i];
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  5. #5
    Join Date
    Jul 2010
    Posts
    7

    Re: IDisposable

    So the dynamic_cast isnīt really necessary !?

  6. #6
    Join Date
    Aug 2010
    Posts
    51

    Re: IDisposable

    hi,



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


    thanks for suggestion



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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center