Skip to content

FB2K Component: COM Automation and ActiveX Interface

License

Notifications You must be signed in to change notification settings

TT-ReBORN/foo_mycom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This component is a template implementation for COM automation with ActiveX.
It allows for seamless integration and interaction with COM objects in your scripts
using either registration-free COM or registration with a registry entry:
MyCOM.cpp: std::wstring g_regMethod = L"RegFree"; // "RegFree" or "RegEntry"

Usage:
To demonstrate, create a new instance of the ActiveX object and call its method:

const myCom = new ActiveXObject('MyCOM');
myCom.PrintMessage();
console.log('myCom', myCom);