Does using atlbase.h makes my compiled app to have some extra dependencie?
I would like to know if including atlbase.h in my c++ project will make the compiled application to have a dll de开发者_StackOverflow社区pendency or something like that.
It depends. The Project Configuration in the IDE has a setting to tell whether your ATL project should link to ATL statically or dynamically. This affects only a small part of ATL though -- most of it is templates, so including the header in your code is all that's needed. There are a few bits and pieces that can/do go in a library though, and the setting will govern whether those come from a DLL or a static library.
精彩评论