SDKERR_MODULE_LOAD_FAILED during Initialization C# Wrapper

Description
I’m following the github code to initialize the SDK:

ZOOM_SDK_DOTNET_WRAP.InitParam param = new ZOOM_SDK_DOTNET_WRAP.InitParam();
param.web_domain = “https://zoom.us”;
ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);
Console.WriteLine(err);
if (ZOOM_SDK_DOTNET_WRAP.SDKError.SDKERR_SUCCESS == err)
{
Console.WriteLine(“success”);
}
else//error handle.todo
{
Console.WriteLine(“error”);
}

But I’m still getting "SDKERR_MODULE_LOAD_FAILED… any help?

Which version?
The latest, I just downloaded today.

Hi @nickrwann,

Thanks for the post. Is this happening with our demo app? Are you building with release + x86 mode? Please suggest the steps to reproduce this with our demo app.

Thanks!

Yes. This is using the x86 c# wrapper demo and my own. I downloaded the SDK and c# wrapper files. Places the h and bin fines in the c# wrapper as instructed, changed it to build, and ran the demo. I’m printing the result to initiating the wrapper and it fails.

Hi @nickrwann,

Thanks for the reply. Could you verify and see if the compiled exe files are in the same root directory of the dll files in /bin file?

I have just downloaded the demo app from here: https://github.com/zoom/zoom-c-sharp-wrapper and I am able to build and run the demo app.

Please have a try. Thx.

Did you enter credentials? The GUI will start up with the files. That’s just XAML. But if you print the results from initializing the SDK, they return with an error.

Also, I have a x64 processor. Would that prevent me from using this?

I have same problem i followed build instructions and getting same error. XAML just shows up if i enter credentials it just hides and does nothing. If i check the error while initializing it returns

SDKERR_MODULE_LOAD_FAILED
Sdk loading failed

            //init sdk
        {
            ZOOM_SDK_DOTNET_WRAP.InitParam param = new ZOOM_SDK_DOTNET_WRAP.InitParam();
            param.web_domain = "https://zoom.us";
            ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);
            if (ZOOM_SDK_DOTNET_WRAP.SDKError.SDKERR_SUCCESS == err)
            {
                Console.WriteLine("SDK loaded");
            }
            else//error handle.todo
            {
                Console.WriteLine(err);
                Console.WriteLine("Sdk loading failed");
            }
        }

Im trying on VS2019

Hi,

Here are the steps to run the demo app:

  1. Download the SDK and the demo app from: https://github.com/zoom/zoom-c-sharp-wrapper
  2. Open the zoom_sdk_demo folder, and use Visual Studio to open the zoom_sdk_demo.csproj file. No need to move any files or folder
  3. Change the solution configuration to: Release + Any CPU like the following:
    D2A204E1-CA54-497F-A9DF-93C9352E7790
    Note: If you are using Debug mode, you will run into the SDKERR_MODULE_LOAD_FAILED error
  4. Build and run the demo app.

Please have a try.

Thanks!

Thanks - that worked. I think it was because I was replacing the C# Wrapper files like the walk-through on the main website says to do.

Glad to hear that it is working. Thanks for the suggestion. I will forward the feedback to the doc team and we will enhance the documentation.