# 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: `/MDd` Multi-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 MFC` is `Use 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 Set` Setting mismatch. Default VS2022 project is using `Unicode Character set`.
- Remedy: Change to `Multi-byte Character Set` if original DLL is using MBCS Character Set

## Database open fail on 64-bit (C#)
- Symptom: 