View Full Version : Activate Winamp using VC++
3377
1st February 2005, 14:50
Can someone advice me how to use Visual C++ to call out Winamp to play an audio file? thks.;)
lunarboy1
1st February 2005, 17:11
Winamp supports command line stuff, use the WinExec function.
Or you could use windows messages to be cool about it.
http://www.winamp.com/nsdn/winamp/sdk/
SDK knows all.
3377
2nd February 2005, 04:29
thks.. to all, I manage activate Winamp using ShellExec() command.
Now I have another problem, after compiling and building, there is always a C:\Debug\Wave.exe windows pop up with message : "Press any key to continue". Can deactivate it? thks.
saivert
2nd February 2005, 13:30
You're probably compiling a console type application.
If you have downloaded Microsoft Visual C++ Express 2005 BETA, then all Win32 projects are console applications by default. You must specify Win32 GUI in the New project/solution screen.
That's my best advise.
There should also be a configuration option available if I'm not remembering wrong. I don't have access to VC++ 2005 Express BETA at the time of writing this so I can't really check.
Search on Microsoft.com... (though you won't find much).
3377
2nd February 2005, 23:32
Hi saivert, you are right. Is a console appl. However, I'm only using Visual C++ version 6.0. Pls attachment.
saivert
3rd February 2005, 08:26
...using VC++ 2005 Express Beta since when you are creating a new project in VC++ 6.0 there is much clearer what is console and what is GUI.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.