I've been playing with COM objects in Delphi lately (actually related to something I intend to post as a FAQ, but as a learning experience, too), and I keep finding that I get access violations if I try to clean up the COM objects I use (e.g. ComObject._Release), along with COM itself.
I figured out that Delphi initializes COM if I use the relevant unit, so I haven't been too worried about that not working from the Microsoft documentation, but I am worried about not cleaning up after things and leaving memory leaks.
Any ideas on why I keep running into access violations when I try to clean up after things in the program?
I'm waiting for the white paper entitled "Finding Employment in the Era of Occupational Irrelevancy
I figured out that Delphi initializes COM if I use the relevant unit, so I haven't been too worried about that not working from the Microsoft documentation, but I am worried about not cleaning up after things and leaving memory leaks.
Any ideas on why I keep running into access violations when I try to clean up after things in the program?
I'm waiting for the white paper entitled "Finding Employment in the Era of Occupational Irrelevancy