Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Dec 2009
    Location
    Islamabad
    Posts
    26
    Thanks
    7
    Thanked 1 Time in 1 Post

    VC2010: CreateProcess gives error 740

    Hi all

    I am porting a small software from VC6/WinXP to VC2010/Win8 which uses CreateProcess to run three different EXE files.

    All three EXE files run without problem when I double click their names in Explorer.

    Two of these run using CreateProcess, but third gives error 740 (The requested operation requires elevation).

    I have tried to change the name to one of other two and it runs fine implying that this call to CreateProcess is okay.

    Any help?
    TIA
    Kamran
    Islamabad, Pakistan

  2. #2
    jwoods
    Guest
    From Microsoft...

    http://blogs.msdn.com/b/winsdk/archi...plication.aspx

    You'll need to use either ShellExecute() or ShellExecuteEx().

  3. The Following User Says Thank You to jwoods For This Useful Post:

    mks (2015-11-16)

Tags for this Thread

Posting Permissions

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