A community member has associated this post with a similar question:
How to resolve debug assertion error when calling dialog create function in mfc extension dll
Only moderators can edit this content.
Why does a DEBUG ASSERTION FAILED error occur when creating a dialog in an MFC extension DLL?
Why does a DEBUG ASSERTION FAILED error occur when creating a dialog in an MFC extension DLL?
In order to use C++ legacy code in C#, I created a new extension DLL. Compilation progressed normally, and when I ran the code to load the DLL in Winform, the error below occurred.
After debugging, it occurs in the code below.
The attached file is the source compressed file. You can check it after changing the extension's TXT to ZIP.
Can anyone please tell me the solution