@carson.zoom And @Michael_Condon
So I’m trying to get the chatDialog window handle but It’s been proving a bit difficult. I have been doing it in the following manner after the meeting window has opened successfully
I’m doing it in the following manner
IMeetingUIControllerDotNetWrap uictrl_service = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetUIController();
ShowChatDlgParam firstHwd = new ShowChatDlgParam();
ValueType va_1 = firstHwd;
uictrl_service.ShowChatDlg(ref va_1);
ShowChatDlgParam chat_exposed = (ShowChatDlgParam)va_1;
the Code below is causing problems because of the casting of a null
HWNDDotNet temp = (HWNDDotNet)chat_exposed.hChatWnd;
Console.WriteLine("Chat window handle " + temp.value);
The output I get before the crash is the following
Object reference not set to an instance of an object.
I’m trying to follow the findings from this post
The Question
How do I get the handle of the Chat window?