atl
Can't reproduce ATL-based data decryption in .NET: wrong first 4 bytes
This is C++ code: CCryptMD5Hash md5; CCryptProv cprov; PCWSTR pszPassword = <password>; BYTE* data = <array of bytes>;[详细]
2023-01-28 12:56 分类:问答CreateWindowEx fails with error 1407 CLASS_NOT_REGISTERED for the second instance of ActiveX
Hi I\'m working on some legacy开发者_如何学Go code - ATL ActiveX used as \"installer\" downloads files from the server for later installation.[详细]
2023-01-27 20:20 分类:问答How to write simple background thread in CWorkerThread
I\'m trying to asynchronously run function in my add-on for Internet Explorer (I\'m writing BHO in VC++). As suggested here I\'m trying to use CWorkerThread.[详细]
2023-01-27 19:26 分类:问答CryptoAPI - export/import of keys between different versions of Windows
On Win 2003 32 bit, I successfully export a PRIVATEKEYBLOB with a CryptExportKey call (dwFlags=0).Then I attempt to import the key blob on a Win Server 2008 64 bit with a 64 bit executable, the call t[详细]
2023-01-27 12:58 分类:问答Threading in BHO/ATL/COM. Winapi or something else?
I writing IE add-on and I\'m using ATL for开发者_JAVA技巧 it. I need to create background worker thread so UI thread will be unblocked as soon as possible.[详细]
2023-01-27 06:29 分类:问答how to fire menu item click event in ATL OR WTL?
Currently i am using the ON_WM_SELECT messgae but it will fire on mous开发者_运维技巧e hover over the menu.Instead of the ON_WM_SELECT i used theCOMMAND_RANGE_HANDLER(0, 10000, OnClickCopyItem)[详细]
2023-01-26 21:40 分类:问答Marshalling a VARIANT back from COM to C++ client
I\'m attempting to marshal a safearray of BSTRs from a COM object, back to a C++ client application. My IDL definition of the function involved:[详细]
2023-01-25 18:50 分类:问答How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu?
I am trying to implement a custom menu for Internet Explorer 7.0. For this i have to use IDocHostUIHandler::ShowContextMenu only. Till now i am able to implement a basic context menu with two options.[详细]
2023-01-25 12:41 分类:问答GetInterfaceFromGlobal() call fails with an out-of-process COM server in Visual Studio 2010
I have an Out-of-process COM server executable which was developed using Visual Studio 6.0 and it has been working fine for the past 10 years. Now I converted this project to Visual Studio 2010 and en[详细]
2023-01-25 06:57 分类:问答Cross-platform support for various MFC\ATL classes
I\'m trying to keep my C++ project cross开发者_如何转开发-platform as much as possible.Albeit I do have dependencies on the following MFC\\ATL classes: CString, CTime, CTimeSpan.[详细]
2023-01-24 00:16 分类:问答