?
Solved

Popup in Pascal or C

Posted on 2003-03-09
2
Medium Priority
?
183 Views
Last Modified: 2006-11-17
Well, when i do a program in Pascal or C it always pops up a command prompt windows and then dissapers.

I want that that windows doesn´t appear, that the program runs in the background. I know that this is possible, just don´t know how.

All the awsers are welcome and apreciated.
Thaks a lot.

P.S: I prefer that the awser could be in Pascal, but if it´s not possible then in C.
0
Comment
Question by:Gfsd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
mocarts earned 100 total points
ID: 8111696
if you won't show any output to user, then create windows exe (don't include APPTYPE CONSOLE compiler directive), but without main window.
example from delphi:

program Project2;

uses
  Windows, Dialogs;

begin
  ShowMessage('I''m here!');
  sleep(3000);
end.

wbr, mo.
p.s. you can set shortcut's property to Run: Minimized, but I'm sure you don't want this solution :)
0
 

Author Comment

by:Gfsd
ID: 8123115
perfect
thks a lot
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question