Help Center/ Meeting/ Client SDK Reference/ FAQs/ Electron SDK/ What Should I Do When the Electron SDK Fails to Be Run on Windows and the Message "HwmUisdk.node is not a valid Win32 application" Is Displayed?
Updated on 2024-07-30 GMT+08:00

What Should I Do When the Electron SDK Fails to Be Run on Windows and the Message "HwmUisdk.node is not a valid Win32 application" Is Displayed?

Customer Case

After integrating the Electron SDK with Windows, the SDK cannot be run and the message HwmUisdk.node is not a valid Win32 application is displayed.

Cause Analysis

  • The system lacks the required runtime library.
  • The number of bits in .dll files is different from that in .node files.

Solution

Download the Windows C++ demo installation package on the official website and run it to identify the cause.

1. If the C++ demo fails to run and error 0xc000007b is reported indicating that the application cannot be started, the fault is caused by the first cause. In this case, you need to download the runtime library of the corresponding version.

2. If the C++ demo runs successfully, re-integrate the Electron SDK by referring to Getting Started to ensure that the number of bits in .ddl files is the same as that in .node files.