assign a port to a thread"
do you mean, the thread is a static or global function, and it can not access the member of the class which not static, but the port is a member of the class and not static, Or the port was set by User?
Then,you know the static method declare is:
"DWORD WINAPI...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.