Re: Delphi interfaces vs. COM interfaces

From: Paul Ericksen (monkeyamore.a_at_t.hotmail.com)
Date: 12/09/03


Date: Tue, 9 Dec 2003 15:10:54 -0600


> Or, in the place where you keep an object reference, call _AddRef. When
> you're done with it call _Release.

This is also true. Thanks for pointing that out. :)

Paul



Relevant Pages

  • RE: Passing Parameter Collections
    ... You're getting an "Object reference not set to an instance of an object." ... pointing to some valid objects, we use Dim a as New ClassA. ... OleDbParameter does not have a constructor, so we cannot create it without ... If you already have a command object and need to assign a parameter ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: I wonder why this question is never addressed
    ... When you pass an object using a ByVal parameter, a new object reference ... pointing it to a different object or to Nothing) will have no effect on the ... corresponding object reference in the calling procedure. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: May buil but woncompile..
    ... Unhandled Exception: System.NullReferenceException: Object reference not set to ... You created a pointer to a Month but it is uninitialized and not pointing at anything valid. ...
    (microsoft.public.vc.mfc)
  • Re: A tale of DirectSoundBuffer8 COM reference counting.
    ... > DOH! ... Yeah I did mean AddRef not QI thanks for pointing that out:) ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: A tale of DirectSoundBuffer8 COM reference counting.
    ... Alessandro Angeli wrote: ... Yeah I did mean AddRef not QI thanks for pointing that out:) ...
    (microsoft.public.win32.programmer.directx.audio)