waitingsong / node-win32-api

win32 api
MIT License
430 stars 55 forks source link

Debug Monitor output #8

Closed genifycom closed 2 months ago

genifycom commented 6 years ago

I am looking for Kernel32 OutputDebugString. How do we extend this library to provide this very useful function?

genifycom commented 6 years ago

Do we add OutputDebugString: [W.LPTSTR], to api.js?

genifycom commented 6 years ago

When I try to use this in Electron, I get "Cannot find the module ffi"

waitingsong commented 6 years ago

You can try v3.5.1 with kernel32:OutputDebugStringW()

githoniel commented 5 years ago

@genifycom try electron-rebuilder and run

cd ./node_modules/.bin && electron-rebuild --force --arch=ia32 --module-dir=../../