Click here to Skip to main content
15,912,329 members
Home / Discussions / COM
   

COM

 
Questionhow to know the name of dll? Pin
kalaveer21-Nov-06 1:05
kalaveer21-Nov-06 1:05 
QuestionCom exe and dll Pin
ashokvishnu20-Nov-06 16:42
ashokvishnu20-Nov-06 16:42 
AnswerRe: Com exe and dll Pin
Roger Stoltz20-Nov-06 21:43
Roger Stoltz20-Nov-06 21:43 
QuestionPorting D/COM OLE Server from W2K to WXP : Issues Pin
sebastien_pelle20-Nov-06 5:29
sebastien_pelle20-Nov-06 5:29 
QuestionConvert pdf to tiff Pin
Dudi Avramov20-Nov-06 3:57
Dudi Avramov20-Nov-06 3:57 
QuestionNewWIndow2 Event Sink problem Pin
yokos117-Nov-06 12:26
yokos117-Nov-06 12:26 
GeneralRe: NewWIndow2 Event Sink problem Pin
prasad_som19-Nov-06 18:31
prasad_som19-Nov-06 18:31 
Questionmemory issues Releasing Interface in VB 6 Pin
el_scrub16-Nov-06 22:34
el_scrub16-Nov-06 22:34 
I have a simple VB6 class in a DLL that has two functions , AllocateLargeArray and DeAllocateLargeArray. I am driving the DLL from an MFC App and in this App I have a button that creates an interface to the VB Class and calls the two functions then releases.

If I then look at the Apps Private bytes (VM Size in TM) of the process the value seems to initially increase lots say to 1900k then on subsequent presses of the button drop to 1600k again to 1300k again to 1000k and then shoot back up to 1900k !

Can anyone tell me why is behaviour ?

To aid here is a a snippet of the code in VB.

Thanks.


Option Explicit

Dim mCollection As Collection

Public Function AllocateLargeArray()
Dim loc As MyStruct
Dim ii As Integer

Set mCollection = Nothing
Set mCollection = New Collection

For ii = 1 To 10000
Set loc = New MyStruct
mCollection.Add loc
Next ii
End Function

Public Function DeAllocateLargeArray()
Dim ii As Integer
ii = 1

Do While ii <= mCollection.Count
mCollection.Remove ii
Loop

Set mCollection = Nothing
End Function
AnswerRe: memory issues Releasing Interface in VB 6 Pin
prasad_som16-Nov-06 23:19
prasad_som16-Nov-06 23:19 
GeneralRe: memory issues Releasing Interface in VB 6 Pin
el_scrub16-Nov-06 23:38
el_scrub16-Nov-06 23:38 
GeneralRe: memory issues Releasing Interface in VB 6 Pin
prasad_som17-Nov-06 1:08
prasad_som17-Nov-06 1:08 
QuestionKilling Process Using WMI Pin
abhiramsss16-Nov-06 6:20
abhiramsss16-Nov-06 6:20 
QuestionA quesion about IE7 Pin
Armor Wei14-Nov-06 19:17
Armor Wei14-Nov-06 19:17 
AnswerRe: A quesion about IE7 Pin
Stephen Hewitt14-Nov-06 20:07
Stephen Hewitt14-Nov-06 20:07 
GeneralRe: A quesion about IE7 Pin
Armor Wei14-Nov-06 20:24
Armor Wei14-Nov-06 20:24 
Questionregarding connection points Pin
srinivas nch13-Nov-06 19:36
srinivas nch13-Nov-06 19:36 
QuestionOLE Afx Control erros Pin
earlgraham13-Nov-06 7:47
earlgraham13-Nov-06 7:47 
QuestionDataGrid in MFC? Pin
Franken13-Nov-06 1:23
Franken13-Nov-06 1:23 
Questionquestion about activex compability Pin
ingsgr01@gmail.com13-Nov-06 0:47
ingsgr01@gmail.com13-Nov-06 0:47 
QuestionHow can I let DCOM server be visited through internet? Pin
johnsonwen11-Nov-06 22:13
johnsonwen11-Nov-06 22:13 
QuestionBSTR thru COM does not seem to be passed..... Pin
morenz10-Nov-06 9:17
morenz10-Nov-06 9:17 
QuestionRe: BSTR thru COM does not seem to be passed..... [modified] Pin
prasad_som13-Nov-06 22:08
prasad_som13-Nov-06 22:08 
AnswerRe: BSTR thru COM does not seem to be passed..... Pin
morenz21-Nov-06 5:37
morenz21-Nov-06 5:37 
Question.net addin outlook Pin
K edar V10-Nov-06 0:39
K edar V10-Nov-06 0:39 
QuestionCOM Inheritance Pin
Inactive Cargo9-Nov-06 23:37
Inactive Cargo9-Nov-06 23:37 

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.