Rebuild EXE after DLL updated?

こ雲淡風輕ζ 提交于 2019-12-13 04:07:10

问题


I saw topics and microsoft official doc (https://docs.microsoft.com/en-us/cpp/build/determining-which-exporting-method-to-use), said that after we add an exporting function to our dll, we have to rebuild the DLL (logic) AND the EXE. I don't understand why they say that, after tests it is not the case, i don't have to rebuild my exe after i add functions to my dll.

My functions are exported with __declspec and there are basic C functions. They (the link) advice us to use .def file with ordinal numbers to don't have to rebuild, but even without this .def file, i don't have to rebuild.

Does __declspec also use ordinal numbers to link dll functions or does it use function naming ? Could you explain me why they say that, where am i wrong ?

Thanks

来源:https://stackoverflow.com/questions/49160234/rebuild-exe-after-dll-updated

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!