davidbaumann
Commodore
- Registriert
- Aug. 2004
- Beiträge
- 4.867
Hallo zusammen,
hab hier im allerneuesten VisualStudio "für Windows Desktop" ein C++ Projekt erstellt:
https://www.computerbase.de/forum/threads/native-exe-erstellen.1292811/
Mein Code schaut so aus:
Er sagt mir aber:
Woran liegts? Hab schon gegoogled, aber nicht rausgefunden, welche Datei ich includen muss...
Die Hilfe sagt auch nix dazu...
Gruß.
hab hier im allerneuesten VisualStudio "für Windows Desktop" ein C++ Projekt erstellt:
https://www.computerbase.de/forum/threads/native-exe-erstellen.1292811/
Mein Code schaut so aus:
Code:
#include <stdio.h>
int main(void)
{
ShellExecute(NULL, "open", "calc.exe", NULL, NULL, SW_SHOWNORMAL);
return 0;
}
Er sagt mir aber:
Code:
1 IntelliSense: Der Bezeichner ""ShellExecute"" ist nicht definiert. c:\Users\VM\Documents\Visual Studio 2013\Projects\ConsoleApplication1\ConsoleApplication1\Quelle.cpp 5 2 ConsoleApplication1
Die Hilfe sagt auch nix dazu...
Gruß.