Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ShellExecute() is declared in Shell

Status
Not open for further replies.

Diggu

Programmer
Joined
Sep 17, 2018
Messages
1
Location
IN
ShellExecute() is declared in Shellapi.h or windows.h?


The biggest problems have the simplest solutions.
 
Easy way to help yourself

Code:
#include <windows.h>
#include <shellapi.h>

int main ()
{
    ShellExecute();
}

This will produce an error. Highlight ShellExecute, right click and select Goto Definition. This will pop up the file where it is declared.

Alternatively,

Code:
cd /d c:\p*86*
cd "Micro* SDKs"
findstr /s ShellExecute *.h

This would have taken 5 minutes instead of the few hours/days that you've spent waiting for the answer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top