title: Pointers in and out of DLLs
body: <p>Is it possible to pass a pointer to an object into a DLL, initialize it, and then use the initialized pointer in the main application? If so how? Are there any good articles on the subject, perhaps a tutorial?</p>
  
  <p>I have read this article <a href="http://msdn.microsoft.com/en-us/library/ms235460.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ms235460.aspx</a> But that did not seem to get me any where. Maybe I am misinterpreting it...</p>