View Single Post
Old 10-09-2002, 10:22 PM   #2
InFix
Registered User
 
Join Date: May 2002
Location: Gorge of eternal peril
Posts: 134
What type of project are you building? You have two options:

Code:
WinExec("C:\\Program Files\\Winamp\\winampa.exe", SW_SHOWMINIMIZED);

This executes something as if you had just dbl clicked its icon.

or

Code:
system("C:\\Program Files\\Winamp\\winampa.exe");

This will pop up a command prompt window and executes what you typed as if you had typed it. Youll see what I mean when you try it.

Also make sure you use "\\" to represent one \. Thats similiar to typing "\n" or "\t" etc...

Hope that helps
__________________
'03 BMW M3 6 spd.
Black/Imola Red
19's

Shuttle XPC w/ AMD 1800+
Opus 150w
Lilliput 7"
Wireless internet through my P900 and bluetooth

Last edited by InFix; 10-09-2002 at 10:25 PM.
InFix is offline   Reply With Quote