How do I link a DLL to my project? error LNK2019: unresolved external symbol

前端 未结 3 1474
太阳男子
太阳男子 2021-02-05 20:35

I have a file foo.h that has various declarations for functions. All of these functions are implemented in a file foo.dll. However, when I include th

3条回答
  •  温柔的废话
    2021-02-05 21:01

    I just had a similar problem. The solution turned out to be that the DLL was 64 bit, and the simple app using it was 32. I had forgotten to change it to x64 in the Configuration Manager.

提交回复
热议问题