Re: ATL71.dll cound not be found even if i selected static link to ATL dll

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



_ATL_DLL or _ATL_STATIC_REGISTRY mentioned in the original post.

These macros should be taken care of for you when you change the project
setting. I'm not sure why the OP had to manipulate .vcproj file by
hand - there are indications that he or she simply didn't apply the
change to all configurations.

My (Win32 based) application doesn't define these in the .vcproj file.
All that changes when I say "Static link to ATL" is that this line
appears: UseOfATL="1"

I tried manually #define'ing _ATL_STATIC_REGISTRY in my code.

I created a new Win32 project via the wizard and ticked the checkbox
for ATL support. Same thing. (I'm using Visual Studio.net 2003 v7.1)

Any other ideas Igor?

Cheers.

Callum.

.