VC++ fatal error LNK1104: cannot open file ‘Export.def’

When you want to create a DLL file to use in C# windows application or from other applications then you may experience the below error:

fatal error

Exception: fatal error LNK1104: cannot open file ‘xxx.def’

Reason:
You define the definition file from Project–> Project Properties. But the project won’t get the definition file in the project path.

Solution:
Create or copy the definition file into the project root path.

Leave a Reply

Your email address will not be published. Required fields are marked *

AlphaOmega Captcha Classica  –  Enter Security Code