Hello guyz, im trying this:
#include <stdio.h>
#include <Audioclient.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
int main()
{
SetMasterVolume( 0.55, NULL);
return 0;
}
I 've downloaded the Windows SDK, how can i link it ??
I tired Project -> Project options...-> (in Foldes tab) to add the SDK\Include and SDK\Lib but it didnt work...
'Linker' tab -> 'Library and object files' field -> kernel32.lib user32.lib gdi32.lib
Still says:
C:\Users\Nilos\Desktop\my projs\tries\try.c(3): fatal error #1035: Can't find include file <Audioclient.h>
...any other idea??
Quote from: nilos on June 28, 2011, 01:14:16 PM
Still says:
C:\Users\Nilos\Desktop\my projs\tries\try.c(3): fatal error #1035: Can't find include file <Audioclient.h>
...any other idea??
Common sense would probably tell you to add the path/folder that the include file Audioclient.h is located into the include file folder list, either for the project or globally under tools... ;)
Ralf