Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Type mismatch in return from COM object
#5
Don't need to free COM objects explicitly. QM calls Release() when the variable dies. Normally then the COM object deletes self. The C# object will be freed by the garbage collector later.
QM also frees memory of str, BSTR, VARIANT etc when the variable dies.


Messages In This Thread

Forum Jump:


Users browsing this thread: 7 Guest(s)