#include <windows.h> #include <atlcom.h>
Here's a basic example of how you might interact with the control using C++ and the Windows API: fast2001.ocx
hr = pDispatch.Invoke(1, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, ¶ms, NULL, NULL, NULL); } } #include <windows
int main() { // Create an instance of the control CComPtr<IUnknown> pUnk; HRESULT hr = pUnk.CoCreateInstance(CLSID_fast2001_ocx); HRESULT hr = pUnk.CoCreateInstance(CLSID_fast2001_ocx)