I have a LNK2019 problem when trying to use some DLL in my project.
Details:
- I have a DLL project called dll1; that compiled just fine (using
__declspec(dllexport)
) in order to export the class inside dll1 (for dll2 usage). - I have another DLL project dll2 that uses dll1's functionality. I specified the *.dll1.lib file path inside the linker input in the project's properties and gave reference to dll1 *.h files. At this point everything needs to work fine. (I think..)
- When compiling dll2, I get a LNK2019 error that tells me can't find some method referenced in dll1. (This method in dll1 is a static method.)
Why do I get this error?