Raise and lower hand not working in latest zoom sdk

Hi
I am using latest version of zoom windows sdk in visual studio 2017(C++).
I am using Raise hand and lower hand function of IMeetingParticipantsController.
Function are returning success but they are not setting raise hand or lower on my zoom client. Are there any other functions do i need to use for this handling?
Please help me to relsolve this.
Waiting for your kind reply.
Thanks

Which version?
I am using v5.0.24433.0616.

Hi
Any luck on this issue.

Hi
I am adding link of my log file for raise and lower hand issue.
https://miskiewicz.s3.eu-central-1.amazonaws.com/sdk_demo_v2_2017.exe_Video_1.log

I am also pasting my code.
ZOOMSDK::IMeetingParticipantsController* pController = pService->pMeetingService->GetMeetingParticipantsController();
if (pController)
{
ZOOM_SDK_NAMESPACE::IUserInfo* puserInfo = getCurrentUserInfo();
if (puserInfo)
{
ZOOMSDK::SDKError error = ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS;
if (wcscmp(receivingMsg, L"raise_hand") == 0)
{
error = pController->RaiseHand();
if (error == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS)
sendCommand(&curClient, L"raise_hand reponse");
}
else
{
error = pController->LowerHand(puserInfo->GetUserID());
if (error == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS)
sendCommand(&curClient, L"lower_hand reponse");
}
}
}

Hi @vaghaninirav10,

Thanks for the post and the log file. Based on the log file, it seems like the interfaces are not being called in the main thread. The SDK interfaces that are related to UI need to be called in the main thread. Please have a try.

Thanks!

Thank you so much.
Now its working.

Glad to hear that! Then I will go ahead and close this thread. Please feel free to create another post if any other questions. :slight_smile: