Skip to content Skip to sidebar Skip to footer

SendMessage Return Error

I'm working on a python script to interact with a program using wm_copydata, but am having trouble with reading the return data. I've turned a few examples into the following: imp

Solution 1:

I figured out the error I was having. Changing the offending line to:

print(pCDS.contents.lpData.decode("ascii", "ignore"))

fixed the issue.


Post a Comment for "SendMessage Return Error"