Description:
Microsoft Visual C newsgroup.
|
|
|
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 »
|
|
windows or javascript
|
| |
About windows as well as the design of javascript fine tuning, it must be useful to extend the work to html facilities management using centers of excellence. _____________ ESECO SYSTEMS Web3.0 and Web4.0 appliances for security and risk protection [link]
|
|
Inheritance in IDL file
|
| |
Hi, If I have two interfaces IA and IB and an object that implements them, usually I write the following: [ object, uuid(.....), oleautomation, nonextensible, pointer_default(unique) ] interface IA: IUnknown { HRESULT MethodA(); ...[ object, uuid(.....), oleautomation, nonextensible, pointer_default(unique)... more »
|
|
How to raise events with an Interface as argument
|
| |
Hi, I have to raise an event from my library and, one of the parameter is an IDispatch derived interface: HRESULT Fire_OnStreamStateChanged( IWaveStream* Sender, short new_state ) { HRESULT hr = S_OK; T * pThis = static_cast<T *>(this); int cConnections = m_vec.GetSize(); for (int iConnection = 0; iConnection < cConnections; iConnection++)... more »
|
|
Rules for calling CoInitilizeEx
|
| |
Hi, In my application I need to raise some events from a second thread. In detail I have a Sound library callback that send me audio data (and, I think, lives in a thread different from the main one) and inside this callback I have to raise an event to the clients. Since I cannot modify the thread entry point function, can I do... more »
|
|
How to work with COM classes and std::map
|
| |
Hi, I've this situation: ------------------------------ ------------------------------ --------------- /* * CH 1 -> [KEY1][KEY2]...[KEYn] * CH 2 -> [KEY1][KEY2]...[KEYn] * / \ * CComPtr<IWaveStream> */ typedef std::map < std::string, CComPtr<IWaveStream> > t_streams_map;... more »
|
|
Is there a better way to create an object?
|
| |
Hi, in my project I have a "noncreatable" object. The IDL (simplified) is the following: [ object, uuid(AB566C6D-AF54-11DE-B5BE-0 0A0D15E9B20), oleautomation, nonextensible, helpstring("InterfaceA Interface"), pointer_default(unique) ] interface IAudioMixer : IUnknown { [propput, id(1)]... more »
|
|
|