Category : activex

I am able to control Internet Explorer window in C++ using: IWebBrowser2 *browser CoCreateInstance( CLSID_InternetExplorer, NULL, CLSCTX_SERVER, IID_IWebBrowser2, (void**)&browser ); And I navigate to a local html file that contains the following: <video controls width="640" height="480"> <source src="video.mp4"></source> </video> When I run the program the internet explorer opens fine but it asks me to "Allow ..

Read more

I am working on the creation of an activex controller using ATL/WTL on Visual Studio 2022, but when i try to compile my solution its come with those line : LNK2019 symbole externe non résolu __imp_GetOpenFileNameA référencé dans la fonction "public: int64 cdecl WTL::CFileDialogImpl::DoModal(struct HWND *)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected]@@Z) LNK2019 symbole externe non résolu __imp_GetSaveFileNameA référencé dans ..

Read more

I am working on the creation of an ActiveX control using ATL/WTL on Visual Studio 2022, but when I try to compile my solution, I get the following errors: LNK2019 symbole externe non résolu __imp_GetOpenFileNameA référencé dans la fonction "public: int64 cdecl WTL::CFileDialogImpl::DoModal(struct HWND *)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected]@@Z) LNK2019 symbole externe non résolu __imp_GetSaveFileNameA référencé dans la ..

Read more

My ocx file is KisPosAgent.ocx. Registry added with regsvr32 ./KisPosAgent.cox. (x86) I’m trying to invoke ocx methods in C++ (or C#) I tried three different approaches. 1. C++, CoCreateInstance #include <stdio.h> #include <windows.h> #include <objbase.h> // This is my ocx (Run cl and tlh, til created) #import "./KisPosAgent.ocx" named_guids no_namespace int main(void) { CoInitialize(NULL); _DKisPosAgent* ..

Read more

I have an ActiveX DLL that runs an exe application, this DLL is called by the browser and calls the application, however as ActiveX is no longer supported in current browsers, I would like to know what steps should I take to create a small application that can call the functions of the DLL, I ..

Read more

I have an executable .exe file, this executable is only executed by an ActiveX DLL, since internet explorer is not used much anymore, I wanted to know if it is possible to "load" the dll and run it the same way as internet explorer does it with CLSID, and create a simple c++ application that ..

Read more

Good day, stackoverflow community. Have a non-trivial question. For displaying web content we are using ActiveX. We decided to switch to QWebEngine, but were faced with the problems: ActiveX allows us: save HTML anchors in QAxObject listen to anchors click events extract and change anchors properties ("id", "href") Example of code: CComPtr<IHTMLDocument2> m_htmlDocument; CComPtr<IHTMLElementCollection> htmlAnchorsCollection; ..

Read more