Click here to Skip to main content
15,910,234 members
Home / Discussions / COM
   

COM

 
AnswerRe: fatal Error occured in developing com component in c++ Pin
User 2155977-Nov-05 13:42
User 2155977-Nov-05 13:42 
QuestionProblem with OleCreateLinkToFile() Pin
Jürgen Jung2-Nov-05 22:48
Jürgen Jung2-Nov-05 22:48 
GeneralRe: Problem with OleCreateLinkToFile() Pin
Jörgen Sigvardsson3-Nov-05 6:36
Jörgen Sigvardsson3-Nov-05 6:36 
QuestionWhat I should do to get 2 doubles numbers from a COM server Pin
razvandynalog2-Nov-05 6:50
razvandynalog2-Nov-05 6:50 
AnswerRe: What I should do to get 2 doubles numbers from a COM server Pin
Gizzo3-Nov-05 7:32
Gizzo3-Nov-05 7:32 
GeneralRe: What I should do to get 2 doubles numbers from a COM server Pin
razvandynalog4-Nov-05 6:02
razvandynalog4-Nov-05 6:02 
QuestionHow to use a VC# COM (with .dll and .tlb) files in VC++6 Pin
nonothing2-Nov-05 6:34
nonothing2-Nov-05 6:34 
QuestionDCOM and memory management: ??? Pin
morenz1-Nov-05 23:04
morenz1-Nov-05 23:04 
Hi again....
I finished my work, and I tested its modules one by one and they worked well.
Now that I put them together, I went into a trouble: my server acts like a memory-consuming program... Smile | :)
Let me explain.... I open Task Manager (on Win2000 Pro) on the server machine and, as I run the client, I see the memory growing up (both Memory Usage and VM Size) and page faults incrementing in hundreds per second.
When I'm about at half of my test procedure, I see this
Memory Usage: 22,680K
Peak Memory Usage: 164,084K
Page Faults: 512,718
VM Size: 508,640K

Don't jump on your chair, these procedures work with images and send images as arrays, so it's normal to have huge structures on my wires... Smile | :)

So I See that VM is not released, but I don't know why. It seems that function pointer is not well-released (because actual memory usage is normal, but VM no). I tried to AddRef and Release interface pointer in every function, instead of at hte beginning and at the end of the whole program, but it did not change a bit.

What can be the problem?
Thanks in advance,
Morenz.
AnswerRe: DCOM and memory management: ??? Pin
Gizzo3-Nov-05 7:37
Gizzo3-Nov-05 7:37 
GeneralRe: DCOM and memory management: ??? Pin
morenz10-Nov-05 3:53
morenz10-Nov-05 3:53 
QuestionHow to convert _bstr_t to wchar_t* Pin
chenxiujie1-Nov-05 16:34
chenxiujie1-Nov-05 16:34 
AnswerRe: How to convert _bstr_t to wchar_t* Pin
Rory Solley1-Nov-05 21:41
Rory Solley1-Nov-05 21:41 
AnswerRe: How to convert _bstr_t to wchar_t* Pin
Lane Yu7-Nov-05 7:09
Lane Yu7-Nov-05 7:09 
QuestionFix for CSerial and MultiThreading Pin
James Underwood1-Nov-05 14:52
James Underwood1-Nov-05 14:52 
QuestionGetIDsOfNames returns E_ACCESSDENIED after installing SP2 on Windows XP Pro Pin
Lonnie Johnson1-Nov-05 12:06
Lonnie Johnson1-Nov-05 12:06 
AnswerRe: GetIDsOfNames returns E_ACCESSDENIED after installing SP2 on Windows XP Pro Pin
morenz2-Nov-05 22:57
morenz2-Nov-05 22:57 
GeneralRe: GetIDsOfNames returns E_ACCESSDENIED after installing SP2 on Windows XP Pro Pin
Lonnie Johnson4-Nov-05 11:35
Lonnie Johnson4-Nov-05 11:35 
AnswerRe: GetIDsOfNames returns E_ACCESSDENIED after installing SP2 on Windows XP Pro Pin
User 2155974-Nov-05 11:57
User 2155974-Nov-05 11:57 
GeneralRe: GetIDsOfNames returns E_ACCESSDENIED after installing SP2 on Windows XP Pro Pin
Lonnie Johnson10-Nov-05 10:59
Lonnie Johnson10-Nov-05 10:59 
QuestionWBEMTest.exe: Query seems to fail at Asynchronous mode when monitoring a remote Windows 2000 Server. Pin
JEFF MENG1-Nov-05 7:27
JEFF MENG1-Nov-05 7:27 
QuestionMsCommLib problems (COM port) Pin
hertz_j31-Oct-05 22:59
hertz_j31-Oct-05 22:59 
Questionhow to get IWebbrowser2 by using HWND? Pin
yj31-Oct-05 22:27
yj31-Oct-05 22:27 
AnswerRe: how to get IWebbrowser2 by using HWND? Pin
User 2155971-Nov-05 8:09
User 2155971-Nov-05 8:09 
QuestionCreating web browser object in my application... Pin
Alex Kofman31-Oct-05 4:20
Alex Kofman31-Oct-05 4:20 
AnswerRe: Creating web browser object in my application... Pin
User 21559731-Oct-05 11:46
User 21559731-Oct-05 11:46 

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.