Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8698369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:43:02+00:00 2026-06-13T01:43:02+00:00

I have a program in .Net 4.5 using ICorDebug::CreateProcess ( http://msdn.microsoft.com/en-us/library/vstudio/ms232508.aspx ). It work

  • 0

I have a program in .Net 4.5 using ICorDebug::CreateProcess (http://msdn.microsoft.com/en-us/library/vstudio/ms232508.aspx). It work on Windows XP, Vista, 7, but not on Windows 8 : my program stop without any message, even in debug mode. But, the same program, in .Net 4.0, work correctly on Windows 8.

Any idea about this?

Thank in advance 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:43:02+00:00Added an answer on June 13, 2026 at 1:43 am

    I am not sure if this will be helpful in diagnosing this problem or not, but I have something similar happening on Windows 8 as well.

    We have some legacy VB6 apps that we are trying to test on Win 8.

    Several of the apps run other VB6 apps using CreateProcessA. Some with and some without parameters – usually the command line parm points to a parameter file created in %temp%.

    Most of these run just fine. However, a few of them will not run at all. CreateProcessA returns a Zero.

    But if I check the err.LastDLLError in VB, it returns a 740 which means “process requires elevation”.

    If I use ShellExecute, it works fine – and UAC does not ask for elevation!

    I can’t tell why these few programs behave like this, because, as I mentioned, other programs that I feel are just as complex will run just fine with CreateProcessA.

    BTW – These programs run perfectly under XP, Vista and Win 7 with UAC on or off. And no elevation is required on any of them.

    But – bottom line is ShellExecute seems to run ok, so I would recommend to the poster to try it instead of CreateProcess.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using C# ASP.NET I want to program a queue. I want to have X
I have an XOR encypted file by a VB.net program using this function to
I have a to rewrite a part of an existing C#/.NET program using Java.
How do I get radar images to a .Net program using this service: http://www.nws.noaa.gov/forecasts/xml/
I have developed a VB.NET program using a strongly typed dataset. This dataset has
I have C++ program using boost graph library. I wonder if there is any
I have created a VB.NET program using windows forms. The program runs on a
I have a 'C# server' program listening to '127.0.0.1', port 5500, using .NET socket,
I have a simple x86-targeting .NET 3.5 console program that calls methods on COM
I have developed a program using VB.NET running with mysql (.mdf/.sdf) database file. It's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.