Tuesday, 24 March 2020

WinForms using NodeJS

Has anyone else ever thought to attempt using NodeJS to build WinForms? o_OYou hear NodeJS and think about its capability for async computation/processing and as a web application server. But NodeJS supports C/C++ Native Addons, and assuming I can create some DLLs that wrap the WinAPI functions to create, redraw, and control Windows Forms, I could theoretically use a C++ Addon (wrapping the MFC library, which already wraps the WinAPI) to enable NodeJS code to create and control Windows Forms. I guess the next logical question is, does the horribleness of working with the WinAPI outweigh the benefits of being able to manipulate it with a flexible, concise language like JavaScript?

Submitted March 24, 2020 at 03:44PM by superswine204

No comments:

Post a Comment