Sign in to follow this  

ShellExecute problems

Recommended Posts

Hi, im trying to execute a application from my app. Now I found this function of the web, but I cant for the love of light seem to find what files to include to be allowed to use it.
// my includes:
#include <windows.h>
#include <shlobj.h>
#include <shlwapi.h>

// how I call it
ShellExecute( NULL, "open", "ed_toolbar.exe", NULL, NULL, SW_SHOW );

The error I get: error C2065: 'ShellExecute' : undeclared identifier Im compiling the application in debug mode, with /MDd Please tell me what Im doing wrong.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this