Why dose this not work? It is just supposed to open the sound file in my my music folder.
#include <windows.h>
HINSTANCE ShellExecute(
_In_opt_ HWND hwnd,
_In_opt_ LPCTSTR lpOperation,
_In_ LPCTSTR lpFile,
_In_opt_ LPCTSTR lpParameters,
_In_opt_ LPCTSTR lpDirectory,
_In_ INT nShowCmd
);
ShellExecute(NULL, open, C:\Documents and Settings\Josh\My Documents\My Music\Skillet-Hero, NULL, NULL, SW_MINIMIZE)
my error:
3 C:\Dev-Cpp\main.cpp `HINSTANCE__*ShellExecuteA' redeclared as different kind of symbol