Description:
Microsoft Visual C newsgroup.
|
|
|
call to waitForSingleObject() inside DllMain()
|
| |
I have an in-proc server that is initializing a 'logger object' inside DllMain(). This 'logger object' is implemented inside regular DLL using C++, and there are no threads or COM inside Logger.dll. This logger.dll, has a named mutex, based on log file name, which it acquires before writing to log-file. Mutex is needed because more than... more »
|
|
Creating thread in DllMain() in Shell extension dll.
|
| |
Hi, I have a shell extension dll (using ATL) which implements a IContextMenu, IshellExtInit. Now I want to monitor a folder using FindFirstChangeNotification. so I have created a thread in DllMain() that does it. But the thread seems to exit very quickly. This is my observation, when I do regsvr32 simpleExt.dll it displays a... more »
|
|
CToolTipCtrl won't show up - Frustration!!
|
| |
I posted my problem here [link] Then I created a simple Win32 app with a dialog to test this w/out all the overhead of the rest of the code in my plugin. The results where even more confusing - it worked when the app was set to "Use Multi- Byte Character Set" in the Character Set property, and did NOT work... more »
|
|
DLL won't register
|
| |
I'm trying to apply what I learned in the thread "Using same interfaces for in-proc vs. out-proc" to convert real world COM servers to use the same TLB. I can't seem to get the DLL to work. The EXE and DLL differ only in the coclass for the only creatable interface CLSID (Application in EXE, ApplicationX in DLL). The CLSID for the DLL doesn't show up in the registry.... more »
|
|
"Class not registered" when using DCOM to connect to an automation dll
|
| |
We have an app that uses a third party COM dll, which has an automation interface (SourceSafe's ssapi.dll, FWIW). This works fine when both our app and the COM dll are installed on the same box. I'd like our app to connect to a dll installed on a remote computer. I was hoping that since the interface is standard (automation), going DCOM... more »
|
|
Refining Execution Mode
|
| |
Hello everybody, I want to know if the keyword refining in the header of the ATL module is working. Because I need to do an ATL transformation only for modifying few features in a UML model. But, when I use refining the rest of the code is not copied, as it proposes. Does anyone knows how can I copy the rest of the code automatically?... more »
|
|
Using same interfaces for in-proc vs. out-proc
|
| |
Is there a way to have both an in-proc (DLL) COM server and an out-of-proc (EXE) COM server that differ only by LIBID (all interfaces/UDTs have the same GUID), and if so what would be a good approach (maybe MIDL preprocessor), and if it's not possible, why not? Thanks, Drew
|
|
vb6 designer compatible container control
|
| |
I've been searching for some way to create something like a vb6 UserControl/PictureBox/Frame with ATL, that is a control which can contain other controls. Unlike an ATL composite control it should support placing controls in the vb designer. From my research in the net I could only find examples for top-level... more »
|
|
Calling convention error on COM call
|
| |
I get "Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call." when I call the method of the COM object. This problem happens only on certain machines, not all. In-proc server is FTM and client is STA. I suspect marshalling setting and object creation. I have given details below, please let me know,... more »
|
|
|