开发者

Does using atlbase.h makes my compiled app to have some extra dependencie?

开发者 https://www.devze.com 2023-01-19 02:57 出处:网络
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 Configu

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消