开发者

Export function in c++ static library

开发者 https://www.devze.com 2023-01-10 12:18 出处:网络
My app links to a third party static library which without source code and I find that a function implemented i开发者_Python百科n this library is exported in my exe using dumpbin.exe, just like a expo

My app links to a third party static library which without source code and I find that a function implemented i开发者_Python百科n this library is exported in my exe using dumpbin.exe, just like a export function in a DLL. I have tried to modify the header file provided by the library, got rid of all the __declspec(dllexport) stuffs, and relink my app, but the function is still exported. Does it have a way to make it unexported?


No. You will have to recompile the library itself, changing the header will not affect the library binary code. What problems is the exported function causing you?

0

精彩评论

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