SVN-Revision9842 Source bug
Reply To (Anonymous)
In SVN-Revision9842, I have found two fatal bugs in window11 with vs2022: ttermpro<=>DDE<=>ttpmacro 1 ttpmacro file :ttmdde.c line:277 Service= DdeCreateStringHandle(Inst, ServiceName, CP_WINANSI); Topic = DdeCreateStringHandleW(Inst, TopicName, CP_WINANSI); Item = DdeCreateStringHandle(Inst, ItemName, CP_WINANSI); Item2 = DdeCreateStringHandle(Inst, ItemName2, CP_WINANSI); Mixing multi-byte and two-byte functions causes the DdeConnect function to return an error code of 0x400A; 2 ttpmacro file :ttmdde.c line:122 A static variable :cv_DCount This variable needs to add itself,like this: else cv_DCount++; Thinks ! liban@whec8.cn
I found 2nd fatal bug and fixed.
Please see r9582 .
If problem has not been resolved, reopen this ticket.
In SVN-Revision9842, I have found two fatal bugs in window11 with vs2022:
ttermpro<=>DDE<=>ttpmacro
1. ttpmacro file :ttmdde.c line:277
Mixing multi-byte and two-byte functions causes the DdeConnect function to return an error code of 0x400A;
2. ttpmacro file :ttmdde.c line:122 A static variable :cv_DCount
This variable needs to add itself,like this: