Click here to Skip to main content
15,907,906 members
Home / Discussions / COM
   

COM

 
GeneralReducing the time a instance of a com exe server Pin
5-Feb-01 6:30
suss5-Feb-01 6:30 
GeneralCOM+ Component Services problem Pin
1-Feb-01 7:35
suss1-Feb-01 7:35 
GeneralCatostrophic putref :( Pin
Chris Losinger29-Jan-01 4:43
professionalChris Losinger29-Jan-01 4:43 
GeneralWindows Media SDK and MFC Pin
24-Jan-01 11:18
suss24-Jan-01 11:18 
QuestionCan anyone find the symbols of OLE32.dll Pin
Eric Wu15-Jan-01 2:54
Eric Wu15-Jan-01 2:54 
AnswerRe: Can anyone find the symbols of OLE32.dll Pin
15-Jan-01 10:56
suss15-Jan-01 10:56 
AnswerRe: Can anyone find the symbols of OLE32.dll Pin
15-Jan-01 11:13
suss15-Jan-01 11:13 
GeneralATL - Collections - shared data Pin
14-Jan-01 13:42
suss14-Jan-01 13:42 
Hi - New to COM / ATL, just getting to grips with this stuff. Could anyone tell me if its possible to have a collection which is populated from c++ client code and viewed in say a VB client app. The client code would receive messages from a remote system and add them to a collection - I can get this bit working - however what I now need is to be able to view the same collection via a VB client. This client would be periodically kicked via connection point to inform it that a message had arrived. How I envisage this to work is as follows:

(NT Service)
* One NT service receiving messages via DCOM.
* Creates a collection item.
* Adds it to the collection.
* Kicks the VB app via connection point.

(DLL)
One DLL which holds the collection class.

(VB Client)
* VB app wakes up
* VB app requests collection items via DLL.
* Messages are displayed in the VB app.

(NT Service)
Mean while the NT service continues to manipulate the collection and informs the VB app.

I thought that if I make the collection container a singleton then only one instance would be created and the NT service and vb app would see the same collection. This does not seem to be the case.

Could anyone explain how I create a shared collection between my NT service and the vb app via a DLL.

Many thanks for any advice offered!
GeneralRe: ATL - Collections - shared data Pin
Todd Wilson8-Feb-01 12:58
Todd Wilson8-Feb-01 12:58 
GeneralATL globals Pin
2sky10-Jan-01 13:57
2sky10-Jan-01 13:57 
GeneralITypelib2::GetDocumentation2 Pin
4-Jan-01 3:56
suss4-Jan-01 3:56 
GeneralRe: ITypelib2::GetDocumentation2 Pin
6-Feb-01 15:19
suss6-Feb-01 15:19 
GeneralDcom working on the client(suppose to work work on the server) Pin
Hushpappy3-Jan-01 6:22
Hushpappy3-Jan-01 6:22 
GeneralRe: Dcom working on the client(suppose to work work on the server) Pin
18-Jan-01 14:15
suss18-Jan-01 14:15 
GeneralRe: Dcom working on the client(suppose to work work on the server) Pin
John McTainsh4-Feb-01 16:22
John McTainsh4-Feb-01 16:22 
QuestionQ: how to expose an interface using ATL? Pin
Tony Young27-Dec-00 10:08
Tony Young27-Dec-00 10:08 
AnswerRe: Q: how to expose an interface using ATL? Pin
Michael Dunn27-Dec-00 14:21
sitebuilderMichael Dunn27-Dec-00 14:21 
GeneralAsp and thumbnail Pin
26-Dec-00 2:35
suss26-Dec-00 2:35 
GeneralMixed COM Apartment models Pin
Christian Skovdal Andersen22-Dec-00 11:39
Christian Skovdal Andersen22-Dec-00 11:39 
GeneralClistCtrl and Callback Items in WTL Pin
21-Dec-00 22:40
suss21-Dec-00 22:40 
GeneralATL component connection points and smart pointers error Pin
19-Dec-00 7:40
suss19-Dec-00 7:40 
GeneralRe: ATL component connection points and smart pointers error Pin
Brian C Hart19-Dec-00 10:01
professionalBrian C Hart19-Dec-00 10:01 
GeneralRe: ATL component connection points and smart pointers error Pin
20-Dec-00 5:04
suss20-Dec-00 5:04 
GeneralClass not registered Pin
VVN18-Dec-00 5:42
VVN18-Dec-00 5:42 
GeneralRe: Class not registered Pin
18-Dec-00 9:14
suss18-Dec-00 9:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.