CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2010
    Posts
    23

    For loop CPU 25% single core

    --
    Last edited by StriderH2; October 16th, 2010 at 02:59 PM.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: For loop CPU 25% single core

    That doesn't look like it can be used for anything good. Please don't ask, as it violates the AUP
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Aug 2008
    Posts
    902

    Re: For loop CPU 25% single core

    Quote Originally Posted by dglienna View Post
    That doesn't look like it can be used for anything good. Please don't ask, as it violates the AUP
    Seems to me like you are making assumptions. Did you look at the code? Did you read his post?

    It looks like he is making some sort of whitelist program that prevents unauthorized programs from being executed on a computer. Things like this are used on kiosk and library computers all the time and I doubt it's violating any part of the AUP.

  4. #4
    Join Date
    Oct 2010
    Posts
    23

    Re: For loop CPU 25% single core

    --
    Last edited by StriderH2; October 16th, 2010 at 03:00 PM.

  5. #5
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: For loop CPU 25% single core

    Too hard to modify to do evil?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  6. #6
    Join Date
    Aug 2008
    Posts
    902

    Re: For loop CPU 25% single core

    Quote Originally Posted by dglienna View Post
    Too hard to modify to do evil?
    Well, no offense to StriderH2, but there's not much relevant code there, not much code period. So unless you feel that anything containing Process.Kill() should be banned...

    I'm sure I could find some way to bend printf("hello world"); to do evil, even if it's to simply call people names.

  7. #7
    Join Date
    Oct 2010
    Posts
    23

    Re: For loop CPU 25% single core

    The issue has been resolved
    Last edited by StriderH2; October 16th, 2010 at 03:00 PM.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured