A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Hi @kaveh rahimi ,
The LINK1127 error occurs because the file is corrupted and you need to rebuild the library.
Please make sure the number of bits in the project and library files are the same, If the library is 32-bit and your project is 64-bit then you will get that error.
You should check if the platform and configuration settings are consistent with the build time.
It is recommended you could set Configuration and Platform in the property settings to ALL.
After Using #pragma comment(lib, "CH341DLL.LIB"),there was no error after linking the library.
Could you please tell me how do you use this lib?
Best regards,
Elya
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.