1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

How can I use ShellExecute() with if and else commands?

Discussion in 'C++' started by Panarchy, May 1, 2009.

  1. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
  2. Panarchy

    Panarchy New Member

    Joined:
    Nov 29, 2007
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    Aha!

    Sounds good.

    Well, I'm just starting to learn C++ now, but if you could make the program multi-threaded, I'd appreciate it.

    If not, then maybe in 6 months I'll be able to do it myself. Although it would be really helpful to have a working, usable, useful example, as this would help me understand the concepts.

    I dunno why, but I understand concepts best when given examples.

    So if you have the time, could you please do so?

    Thanks in advance,

    Panarchy
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    If I write code for you it would not help in learning but yes some other example like the one mentioned in links can help you
     
  4. Panarchy

    Panarchy New Member

    Joined:
    Nov 29, 2007
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    Is multi-threading possible in other languages?

    Is batch Object Orientated? (goto?)

    Please explain.
     
  5. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    Many languages support Multi-threading
     
  6. Panarchy

    Panarchy New Member

    Joined:
    Nov 29, 2007
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    Which?
     
  7. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    Java / C++ / C#
     
  8. Panarchy

    Panarchy New Member

    Joined:
    Nov 29, 2007
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    Interesting... thanks.

    Is batch Object-Orientated?
     
  9. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    No idea.
     
  10. Panarchy

    Panarchy New Member

    Joined:
    Nov 29, 2007
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    Okay, well thanks anyways.

    I'm guessing the with Multithreading within C++, I would need to specify it at different stages (like paragraphs).

    So should I create a separate thread for every occurance of ShellExecute & CreateProcess?
     
  11. Panarchy

    Panarchy New Member

    Joined:
    Nov 29, 2007
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    How do I input error handling within the programming [if, else, etc.] controllers?

    Would appreciate your knowledge of how this could be done, within an example.

    Thanks in advance,

    Panarchy
     

Share This Page