As shown in figure, the program has just started, also in the process of initialization, data cstrings for assignment operation, trigger C "Unhandled exception at 0 x634f81b0 (mfc90ud. DLL) in XX. Exe: 0 xc0000005: Access violation reading location 0 x00000000."
Context is a simple assignment operation, how can hang in the CSimpleStringT template?
CodePudding user response:
And recommend the use of DLL interface types (CHAR *, WCHAR *, BSTR), do not use MFC class, or different version VS the generated code will produce incompatibleCodePudding user response: