Home > Software engineering >  MFC call DDEML communication problems
MFC call DDEML communication problems

Time:09-20

In MFC with a button on the DDEML initialization below

And then use another button to trigger the DDEML communication, with a button is normal below
Figure data to the other in the process, and DDEGetLastError the return value is zero, said normal



But when use ddeml communications in a callback function, error, excuse me each greatly this is why, the hope can give advice, thank you
Error below, an error is 0 x40006 official documentation parameter error, but from the perspective of pointer is pointing to the same place, what would it be wrong?


CodePudding user response:

Comparing to the unfolding parameters one by one to see if there are inconsistencies?
https://wenku.baidu.com/view/beb937d326fff705cc170a98.html



CodePudding user response:

@ zgl7903 doubt not parameter problem, isn't it a namespace where there is a problem, if not parameters, wouldn't have succeeded in OnClickButton4 this method, is now in OnClickButton4 this method is successful, but in a callback function is not successful,
  • Related