Building for 32 bit


#1

I have a 32 bit dll which I know works because another 32 bit process is able to use it as expected. On that note, I have compiled a 32 bit native addon which wraps the dll. I do not know how to check if it has actually compiled as 32 bit, but I will just hope it did because I have followed the documentation as specified here.

My issue is with running “electron .” on the command line. I know that when tweaking the above settings to work with 64 bit, Electron builds successfully, though when the native addon is compiled as 32 bit, I am prompted with the error, “%1 is not a valid Win32 application” :

I do not understand what this means. Can someone help me? I honestly have no idea what this means. Can someone also tell me how I can run “electron .” as 32 bit?


#2

Still no luck