atl
ATL C++ memory leak with safearray of ccomobjects
I find myself in need of help. Now, I\'m not all that unfamiliar with C++, but combining it with ATL provides a whole new level of confusion. Anyways, my problem: I (finally) managed to return an arra[详细]
2023-04-13 07:03 分类:问答How to access COM objects from different apartment models?
I have a multi-threaded C++Builder GUI app, which communicates with a third-party app via COM. I need to call methods of the COM object from several threads, and I\'m protecting access witha mutex. A[详细]
2023-04-12 13:35 分类:问答WTL: Message loop for button
I have some class around this code, let call it ToolbarButton TBBUTTON tbbutton; ZeroMemory(&tbbutton, sizeof(tbbutton));[详细]
2023-04-12 05:28 分类:问答IContextMenu::QueryContextMenu being called, but IContextMenu::InvokeCommand doesn't
In my implementation of IContextMenu COM server, the QueryContextMenu gets called (can see it with logging) but InvokeCommand doesn\'t. Here is the QueryContextMenu:开发者_开发问答[详细]
2023-04-12 03:26 分类:问答Shell extension doesn't work in Windows-Explorer but works in other programs?
I made shell extension (implementing IContextMenu, IShellExtInit, IExtractIcon & IPersistFile) using ATL, \"by the book\".[详细]
2023-04-11 14:58 分类:问答ATL how to Convert BSTR* str to registry key.SetValue(LPCTSTR str type
It\'s been years since I have done C++ let alone ATL code I have this method that needs surgical help :([详细]
2023-04-10 23:29 分类:问答Implement Interface Wizard - how to find the "type library" of an interface?
I want to implement (e.g) the IPersistFile interface via the \"Impleme开发者_如何学运维nt Interface\" Wizard in Visual Studio (2010), but I have to choose from the \"Available type libraries\" the one[详细]
2023-04-09 03:51 分类:问答How do I limit the threads in a ATL DCOM service?
I have an ATL service which implements a free threaded COM object. Our testers are running more and more threads against the service but this eventually results in an ugly runtime crash when it starts[详细]
2023-04-08 23:08 分类:问答Issues registering C++ COM DLL on 64-bit Windows 7
I have a simple C++ ATL COM DLL and a 32-bit Visual Studio Setup installer. All is well on 32-bit Windows开发者_JS百科 but there are some issues on 64-bit Windows 7.[详细]
2023-04-08 17:40 分类:问答Can't get the handle of a Cwnd Class in MFC Windowless Activex?
I have asked two questions earlier about thisand for each post there was some solutions i tried them,开发者_如何学C but the problem still exist.[详细]
2023-04-08 10:01 分类:问答