You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.0 KiB
1.0 KiB
Issues
heap debug error
- Symptom : Calling DLL function with std::string parameter / return value, causing heap debug error upon return
- Cause: The caller DLL must compile using the same
[Code Generation]-[Runtime Library]flag. eg:/MDdMulti-threaded Debug DLL - Remedy: Update the flag accordingly
Compile erro on Simple console project consuming MFC related DLL
- Symptom : Compile Error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
- Cause : Default console project for
Advance->Use of MFCisUse Standard Windows Libraries - Remedy: Switch setting to
Use MFC in a Shared DLL
Compile error for string parameters
- Symptom: Unable to match LPCSTR parameters / arguments
- Cause:
Advanced->Character SetSetting mismatch. Default VS2022 project is usingUnicode Character set. - Remedy: Change to
Multi-byte Character Setif original DLL is using MBCS Character Set
Database open fail on 64-bit (C#)
- Symptom: