splef-ty \'splef-te̅ \ adj: nifty, novel, cool or clever.
Fri, 29 Aug 2003

Using ActiveX components in LabView

Today’s starting discovery: you will get a memory leak when using an ActiveX component in LabView if you do not close each reference you use—even if you did not open the reference!

This is surprising and leads to rather atrocious-looking code, since it means the code needs to be sprinkled with “close” functions all over the place, even on references that one did not open. This is the weird part. One of the general rules in software is you made it, you clean it up. If someone else gives it to you, it’s their problem.