IUnknown *iface = 0;
activeX->queryInterface(IID_IUnknown, (void**)&iface);
if (iface) {
// use the interface
iface->Release();
}
IUnknown *iface = 0;
activeX->queryInterface(IID_IUnknown, (void**)&iface);
if (iface) {
// use the interface
iface->Release();
}
To copy to clipboard, switch view to plain text mode
or
IDispatch*disp= 0;
activeX->queryInterface(IID_IDispatch, (void**)&disp);
if (disp) {
// use the interface
disp->Release();
}
IDispatch*disp= 0;
activeX->queryInterface(IID_IDispatch, (void**)&disp);
if (disp) {
// use the interface
disp->Release();
}
To copy to clipboard, switch view to plain text mode
Bookmarks