title: Compiler can't find structures, what should i be including
body: <p>UPDATE:
  I thought it was Windsows.h i need to include and you have confirmed this, but when i do include it i get a bunch of messages like the following...</p>
  
  <pre><code>1&gt;C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5934) : error C2872: 'IDataObject' : ambiguous symbol
  1&gt;        could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(251) : System::Windows::Forms::IDataObject IDataObject'
  1&gt;        or       'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll : System::Windows::Forms::IDataObject
  </code></pre>
  
  <p>I Don't know how to fix this, eik!</p>
  
  <hr>
  
  <p>I'm trying to call PeekMessage but when I try to compile I get the following errors.</p>
  
  <p>'MSG' : undeclared identifier
  'HWND' : undeclared identifier
  'PM_REMOVE' : undeclared identifier</p>
  
  <p>my code is as below...</p>
  
  <pre><code>MSG message;
      while(form-&gt;Created)
                  {
                      while( PeekMessage( &amp;message, (HWND)form-&gt;Handle.ToPointer(), 0, 0, PM_REMOVE ) )
                      {
                          TranslateMessage( &amp;message );
                          DispatchMessage( &amp;message );
                          if( !mainWindow-&gt;Created )
                              break;
                      }
                  }
  </code></pre>
  
  <p>I know what these structures are but can get the compiler to recognise them. Am i missing a ref or are there VC++ alias' for the same?</p>
  
  <p>Cheers.</p>