The function in the thread does not output the value correctly
The function SentMessage always outputs 100, even if the value has changed. I tried to create pointers, pass p1 in different ways, but it always output 100. How can i read p1 in thread?
The function in the thread does not output the value correctly
The function SentMessage always outputs 100, even if the value has changed. I tried to create pointers, pass p1 in different ways, but it always output 100. How can i read p1 in thread?