开发者

Protect the code by including headers in static library

I've created a static library for interaction with a web service. When I use a static library, I need to开发者_如何学C include the compiled library and the header files in the project. Is there a way to protect the header code or include it in the compiled library?


The compiler needs the header files when you (or someone else) uses your library in a project. The header files cannot be included in the library file or hidden somewhere else.

You don't have to include the headers in distributed executables (apps).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜