How to use the winax.Object function in winax

To help you get started, we’ve selected a few winax examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aweiu / dm.dll / dist / index.js View on Github external
function getDM() {
    try {
        return new winax.Object('dm.dmsoft');
    }
    catch (e) {
        child_process_1.execSync(`regsvr32 ${path.resolve(__dirname, 'dm.dll')} /s`);
        return new winax.Object('dm.dmsoft');
    }
}
const dm = getDM();

winax

Windows COM bindings

MIT
Latest version published 7 days ago

Package Health Score

70 / 100
Full package analysis