locked
Adding events to a menu button click RRS feed

  • Question

  • 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..
     

    Thursday, June 8, 2006 10:28 AM

Answers

  • this forum is for managed code development using .NET Compact Framework. You are using native code.
    Friday, June 9, 2006 6:33 PM