Thread: executing program....

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    16

    executing program....

    hi,
    2. I have problem when executing program from windows, I use: system("c:\\windows\\Notepad.exe"); and all is ok but that stupid dos box appears when notepad is executed, now the question, how to execute program without dos box???

    2. I used ShellExecute but got an error while compiling:
    "passing `const char *' as argument 1 of `ShellExecuteA(HWND__ *, const CHAR *, const CHAR *, const CHAR *, const CHAR *, int)'" so whats the syntax of ShellExecute ??
    Last edited by Turek; 07-29-2002 at 01:21 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 40
    Last Post: 09-01-2006, 12:09 AM
  2. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 07:49 PM
  3. Executing a program
    By trancedeejay in forum C Programming
    Replies: 7
    Last Post: 03-06-2006, 08:55 AM
  4. Problem executing sample program:
    By mrabiu in forum C++ Programming
    Replies: 4
    Last Post: 03-13-2004, 06:44 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM