Click here to Skip to main content
15,898,134 members
Home / Discussions / COM
   

COM

 
GeneralRe: Max Length of BSTR Pin
Daniel Turini23-Oct-02 12:00
Daniel Turini23-Oct-02 12:00 
GeneralRe: Max Length of BSTR Pin
Todd Smith23-Oct-02 12:03
Todd Smith23-Oct-02 12:03 
GeneralRe: Max Length of BSTR Pin
Michael Dunn23-Oct-02 13:39
sitebuilderMichael Dunn23-Oct-02 13:39 
GeneralRe: Max Length of BSTR Pin
ian mariano28-Oct-02 4:16
ian mariano28-Oct-02 4:16 
GeneralActiveX Tutorial Pin
Daniel Strigl22-Oct-02 19:51
Daniel Strigl22-Oct-02 19:51 
GeneralRe: ActiveX Tutorial Pin
Mazdak23-Oct-02 9:16
Mazdak23-Oct-02 9:16 
GeneralSetting the Cursor Shape with an Out-of-Process COM Server Pin
Anonymous22-Oct-02 11:12
Anonymous22-Oct-02 11:12 
GeneralDCOM Server - Memory keeps growing Pin
almirx10122-Oct-02 8:29
almirx10122-Oct-02 8:29 
I have a DCOM executable which is a server program written in C++. The client is a VB program which calls the methods from DCOM. When the first client makes the call to DCOM, the DCOM executable is started on the server side and its initial memory size is 20,000K. The memory keeps growing when ever any client calls a DCOM method. In C++ code, I call QueryInterface(...), AddRef() and I release pointer to Interface by calling Release(..), but the memory still keeps growing for every call to DCOM method.

Why is this?

When each client disconnect from DCOM server, the memory on server side is not release, but only when the last client disconnects, the DCOM executable is stopped which is fine.

How can I keep the memory on server side not grow when clients are making calls to DCOM interface?

GeneralErrors From COM Object Pin
Ryan B.21-Oct-02 4:58
Ryan B.21-Oct-02 4:58 
GeneralRe: Errors From COM Object Pin
Steve S21-Oct-02 5:23
Steve S21-Oct-02 5:23 
GeneralRecommended Book on COM :: C++ Pin
valikac19-Oct-02 11:39
valikac19-Oct-02 11:39 
GeneralRe: Recommended Book on COM :: C++ Pin
Renjith Ramachandran19-Oct-02 20:38
Renjith Ramachandran19-Oct-02 20:38 
GeneralRe: Recommended Book on COM :: C++ Pin
Stephane Rodriguez.19-Oct-02 21:05
Stephane Rodriguez.19-Oct-02 21:05 
GeneralRe: Recommended Book on COM :: C++ Pin
valikac20-Oct-02 5:51
valikac20-Oct-02 5:51 
GeneralRe: Recommended Book on COM :: C++ Pin
valikac22-Oct-02 13:38
valikac22-Oct-02 13:38 
GeneralRe: Recommended Book on COM :: C++ Pin
Ranjan Banerji23-Oct-02 6:28
Ranjan Banerji23-Oct-02 6:28 
GeneralRetrieve exchange user information Pin
Anonymous19-Oct-02 1:56
Anonymous19-Oct-02 1:56 
GeneralRe: Retrieve exchange user information Pin
Stephane Rodriguez.21-Oct-02 1:49
Stephane Rodriguez.21-Oct-02 1:49 
Generalres: protocol and IMoniker Pin
mstephens17-Oct-02 22:47
mstephens17-Oct-02 22:47 
GeneralRe: res: protocol and IMoniker Pin
Stephane Rodriguez.21-Oct-02 1:51
Stephane Rodriguez.21-Oct-02 1:51 
GeneralRe: res: protocol and IMoniker Pin
mstephens21-Oct-02 2:03
mstephens21-Oct-02 2:03 
GeneralGetActiveObject() failing... Pin
17-Oct-02 11:12
suss17-Oct-02 11:12 
GeneralRe: GetActiveObject() failing... Pin
Jason Henderson18-Oct-02 3:14
Jason Henderson18-Oct-02 3:14 
GeneralRe: GetActiveObject() failing... Pin
Member 1035854718-Oct-02 3:18
Member 1035854718-Oct-02 3:18 
GeneralNeed help for IDispatch. Pin
sonshiro17-Oct-02 0:43
sonshiro17-Oct-02 0:43 

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.