title: OleInitialize fails when Common Lanuage Runtime is enabled?
body: <p>I am working on a wxWidgets console application that I want to call into = a C# DLL from, via the CLR.  Unfortunately, the application hiccups in the wxWidgets application initialization code because OleInitialize is failing.  The error I'm seeing is a pop-up simply stating "Cannot initialize OLE."</p>
  
  <p>It seems that this problem is usually avoided by setting the apartment style for threads by applying a directive to the application's entry point but I'm really struggling with what entry point I'm looking for.  My C# code is a DLL: there's no specific entry point.  The code compiled with /CLR exists in a .lib which is linked into my wxWidgets application.  wxWidgets actually defines the WinMain in their code, and allows me to override behaviors via implementing wxApp.</p>
  
  <p>Other suggestions include disabling OLE support in wxWidgets but In my release, 2.8.6, setting <code>wxUSE_OLE, wxUSE_CLIPBOARD, wxUSE_DATAOBJ, wxUSE_DRAG_AND_DROP</code> to 0 creates unresolved externals while compiling wxWidgets.</p>
  
  <p>Has enjoy encountered this before and found an effective work around?  Can anyone provide any clarification on what entry point I need to be modifying?</p>