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?

채문석(jim) 41 Reputation points
2024-05-27T01:07:34.78+00:00

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.

User's image

User's image

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

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
0 comments No comments
{count} votes