title: COM Server failed execution
body: <p>I have a some dll and exe files. I registred these files and create desired instance. In one case the instance wasn't created. Any other dll and exe leads to the successful result, only this one was a problem. When I last time registred problematic files, instance wasn't create, but if problematic files was unregistred I try registred a files who gave me a succesfull result, but again, instance wasn't create. Code weren't change, same code doesn't create instance anymore and that seems strange to me because same code can create instance before registration problematic files. I try replace <strong>CoCreateInstance</strong> for <strong>CoGetClassObject</strong> whith same result. The error is <strong>Server execution failed</strong>.</p>
  
  <p>I use Visual Studio 2010 and <strong>CLSCTX_LOCAL_SERVER</strong> flag.</p>
  
  <p>My hypothesis is this strange behaviour is caused by 64bit enviroment and 32bit COM object. I try this <a href="http://www.gfi.com/blog/32bit-object-64bit-environment/" rel="nofollow">workaround</a> but result is the same <strong>Server execution failed</strong>. Any ideas?</p>
  
  <p><strong>EDIT:</strong> I searched for an interface IID which is use for COM object, but in the registry isn't this IID. Is this possible clue for this situation?</p>