title: Cant import dll in C++ application
body: <p>I have a dll called <code>hecom32.dll</code>. I want to use this in my application. I acll the following:</p>
  
  <pre><code>#import "hecom32.dll"
  </code></pre>
  
  <p>And I get the following error:</p>
  
  <pre><code>enter Error 1   error C1083: Cannot open type library file: 'c:\users\dvargo\documents\visual studio 2010\projects\johnny\johnny\hecom32.dll': Error loading type library/DLL.  c:\users\dvargo\documents\visual studio 2010\projects\johnny\johnny\johnny.cpp  6   1   Johnny
  </code></pre>
  
  <p>Obviously it cant add it. I am not sure however to determine what is wrong with it. Is there some way that I can analyze the file to see why it cant be imported. Is there a different way to use the functions in the dll?</p>
  
  <p>I am using Visual Studio 2010</p>