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 777293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:34:58+00:00 2026-05-14T19:34:58+00:00

I put this below code inside my *.dll for Internet Explorer. FILE *child =

  • 0

I put this below code inside my *.dll for Internet Explorer.

FILE  *child = _popen("java -jar c:\\simmetrics.jar c:\\chtml.txt c:\\thtml.txt > c:\\output.txt", "r");

fclose(child);

My problem is, when I run my Internet Explorer, the will be a cmd.exe console open too. I don’t want the console to suddenly appear when I run my browser. How can I avoid this or hide it or not to execute it at all)?

update:

How to properly call javaw from the code? It still popping up the console windows 🙁

FILE  *child = _popen("javaw -jar c:\\simmetrics.jar c:\\chtml.txt c:\\thtml.txt > c:\\output.txt", "r");

update:

Is there any other way? The console window still being called everytime I run this line of code inside my program.

  • 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-05-14T19:34:59+00:00Added an answer on May 14, 2026 at 7:34 pm

    You can use CreateProcess instead of _popen. It’s a bit more cumbersome, but you can pass the CREATE_NO_WINDOW flag as part of the dwCreationFlags parameter to prevent the console window from appearing.

    If you need to capture the output of the process you’ve created, you can use CreatePipe/ReadFile to do so. MSDN has a thorough example of doing this here.

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

Sidebar

Related Questions

how to put this code below? - (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component { NSString *year
i want to put the id into the colorbox below this code nom works
I have this code inside a file located at http://example.com/analytics.js and referenced in the
I have managed to put this condition and rule below together to redirect a
Thank you all for helping. Below this post I put the corrected version's of
When I put this code in <asp:LoginStatus ID=LoginStatus1 runat=server style=top: 170px; left: 890px; position:
Edit: I put this snippet of code in jsbin: http://jsbin.com/eneru I am trying to
In the below code I would like to put a variable to the text
I used the code below to open a binary file fp (the file contain
Inside vb.net the code below works cmd.CommandText = CREATE TABLE Notes ( num INTEGER,

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.