I should add that I could modify this ATL DLL source anyway I want. It just has to work.
MonkuMonku
Posts
-
using ATL DLL in non-ATL way -
using ATL DLL in non-ATL waySorry that the subject is vague because it's hard to describe my question in one line. I have zero experience with ATL. I was given this ATL DLL project at work that embeds web browser on our application. I was using #import [browser.dll] to access the methods, and CreateInstance() to create the browser. That's how it was used in the example exe project that used that DLL. My lead suggested that I should remove #import due to its hard-coded path dependency, and I should just link it using the lib file that DLL generates during compilation. The DLL is guaranteed to reside in the same directory as the main exe, and it'll not be replaced by any other DLL. What's the best way to fix this problem? But I noticed that lib files don't generated when you compile ATL DLLs (I could be wrong). Can somebody lead me to an example? Thanks in advance.