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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shellapi.h errors 1

Status
Not open for further replies.

mrsnrub

Programmer
Mar 6, 2002
147
AU
Hello all,
I am trying to include the shellapi.h header file in my source code so that I can reference the ShellExecute function. At the top of my code I have included the statement:
#include <shellapi.h>

but I cannot compile the code. Every time that I try to I get a lot of errors all relating to the shellapi.h file itself. Do I need to include something else?

Any help greatly appreciated.
 
Yes, of course, as usually with Windows API related:
Code:
#include <windows.h>
#include <shellapi.h>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top