i think first i shud give u the code that i'm using...
CMenuHandler()
{
SHELLEXECUTEINFO se;
ZeroMemory(&se, sizeof(SHELLEXECUTEINFO));
se.cbSize = sizeof(SHELLEXECUTEINFO);
//se.hwnd = hwndParent;
se.lpFile = _T("\\windows\\calc.exe");
se.nShow = SW_SHOWNORMAL;
ShellExecuteEx (&se); // Launch the control panel.
}
well the nabove is the contriuctor of the class that i'm using..now after adding a permanent menuitem in pocket pc the code is for adding some event on menuitem click but it's not working..
it's also not giving any error kinda thaings...
it's generating a warning...
LINK : warning LNK4089: all references to 'ole32.dll' discarded by /OPT:REF
can nyone please tell me what this warning means and is this warning is the reason for the application not working properly...
and also how to get rid of this warning..