Hi
I have this sample i find on the net:
-------------------------------------------------------
HWND hwnd = NULL;
LPCTSTR lpVerb = "open";
LPCTSTR lpFile = "LPCTSTR lpParameters = NULL;
LPCTSTR lpDirectory = ".";
INT nShowCmd = SW_SHOWNORMAL;
ShellExecute(hwnd, lpVerb, lpFile, lpParameters, lpDirectory, nShowCmd);
-------------------------------------------------------
But it doesnt work when i try to build it..
It says:
'ShellExecute' : Undeclared identifier
I have this include: #include <windows.h>
Can anyone help me with what i am doing wrong?
Is it possible i have a old version of windows.h ??
I run win2000 and have Visual Studio 6..
Thanks for any help!
/Dj
I have this sample i find on the net:
-------------------------------------------------------
HWND hwnd = NULL;
LPCTSTR lpVerb = "open";
LPCTSTR lpFile = "LPCTSTR lpParameters = NULL;
LPCTSTR lpDirectory = ".";
INT nShowCmd = SW_SHOWNORMAL;
ShellExecute(hwnd, lpVerb, lpFile, lpParameters, lpDirectory, nShowCmd);
-------------------------------------------------------
But it doesnt work when i try to build it..
It says:
'ShellExecute' : Undeclared identifier
I have this include: #include <windows.h>
Can anyone help me with what i am doing wrong?
Is it possible i have a old version of windows.h ??
I run win2000 and have Visual Studio 6..
Thanks for any help!
/Dj