Click here to Skip to main content
15,908,455 members
Home / Discussions / COM
   

COM

 
GeneralRe: variant arrays.. Pin
Steve S1-Mar-04 0:12
Steve S1-Mar-04 0:12 
Generalvariant types.. Pin
anand12312329-Feb-04 20:06
sussanand12312329-Feb-04 20:06 
GeneralRe: variant types.. Pin
ian mariano29-Feb-04 20:45
ian mariano29-Feb-04 20:45 
GeneralRe: variant types.. Pin
safee ullah29-Feb-04 21:03
safee ullah29-Feb-04 21:03 
GeneralRe: variant types.. Pin
Steve S1-Mar-04 0:16
Steve S1-Mar-04 0:16 
GeneralRe: variant types.. Pin
ian mariano1-Mar-04 11:39
ian mariano1-Mar-04 11:39 
GeneralRe: variant types.. Pin
anand1231232-Mar-04 18:03
sussanand1231232-Mar-04 18:03 
GeneralUsing SetWindowRgn in a control causes a memory leak when the control is loaded dynamically Pin
Steef29-Feb-04 5:48
Steef29-Feb-04 5:48 
Hi,

I've created a control with rounded corners by calling SetWindowRgn. If you place this control on a VB-form and keep on loading/unloading the form, a memory leak appears. If you remove the call to SetWindowRgn, there's no memory leak. MSDN says that you should delete a region after a call to SetWindowRgn because Windows will delete it when it is finished with it, but it seems to me this moment is not until the program exits.

Has anyone any noticed also noticed this ?
GeneralRe: Using SetWindowRgn in a control causes a memory leak when the control is loaded dynamically Pin
Prakash Nadar29-Feb-04 16:49
Prakash Nadar29-Feb-04 16:49 
GeneralRe: Using SetWindowRgn in a control causes a memory leak when the control is loaded dynamically Pin
Steef (Stephan Deckers)29-Feb-04 19:23
Steef (Stephan Deckers)29-Feb-04 19:23 
GeneralRe: Using SetWindowRgn in a control causes a memory leak when the control is loaded dynamically Pin
Prakash Nadar29-Feb-04 19:53
Prakash Nadar29-Feb-04 19:53 
GeneralRe: Using SetWindowRgn in a control causes a memory leak when the control is loaded dynamically Pin
Steef (Stephan Deckers)29-Feb-04 20:04
Steef (Stephan Deckers)29-Feb-04 20:04 
GeneralDifference between Com DLL and win32 DLL Pin
Balkrishna Talele27-Feb-04 17:20
Balkrishna Talele27-Feb-04 17:20 
GeneralRe: Difference between Com DLL and win32 DLL Pin
Prakash Nadar29-Feb-04 16:54
Prakash Nadar29-Feb-04 16:54 
GeneralOpen source file upload activeX control Pin
lognez27-Feb-04 4:14
lognez27-Feb-04 4:14 
GeneralHelp with VB control in VC Pin
Chris Ulliott27-Feb-04 2:55
Chris Ulliott27-Feb-04 2:55 
GeneralActiveX control developement--help Pin
jithus27-Feb-04 1:26
jithus27-Feb-04 1:26 
GeneralRe: ActiveX control developement--help Pin
yhjnet30-Aug-10 16:54
yhjnet30-Aug-10 16:54 
GeneralPassing Safearray arcoss COM to C# Pin
tyyryrteytry27-Feb-04 0:01
tyyryrteytry27-Feb-04 0:01 
GeneralCreateDispatch slow Pin
dzsigit26-Feb-04 21:21
dzsigit26-Feb-04 21:21 
GeneralRe: CreateDispatch slow Pin
Heath Stewart27-Feb-04 6:23
protectorHeath Stewart27-Feb-04 6:23 
GeneralEnumerating an interface. Pin
Kagehi25-Feb-04 14:19
Kagehi25-Feb-04 14:19 
GeneralRe: Enumerating an interface. Pin
Michael Sadler25-Feb-04 15:30
Michael Sadler25-Feb-04 15:30 
GeneralRe: Enumerating an interface. Pin
Kagehi26-Feb-04 7:56
Kagehi26-Feb-04 7:56 
GeneralRe: Enumerating an interface. Pin
Kagehi26-Feb-04 9:10
Kagehi26-Feb-04 9:10 

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.