I am using VC++ 2008, and i am trying to create a little software to search for a folder and explore it in a new window.(like I open/explore c: drive) I don't need to browse for the folder and open it from there.
I tried using 'ShellExecute' but didn't work.when i compile the code it gives me errors in 'shellapi.h'. What should I do?
I used the following
#include "shellapi.h"
int main(int argc, char* argv[])
{
ShellExecute(handle, "open","C:\\", NULL, NULL, SW_SHOWNORMAL);
return 0;
}
My problem is i have no idea how do that.
Please help