Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I create a BSTR in my C++ code calling Excel, do I need to explicitly
release the VARIANT holding the BSTR after I call Excel ? VARIANT range; VariantInit ( & range); range.vt = VT_BSTR; _bstr_t address = _bstr_t (cellAddress.c_str ()); range.bstrVal = address; OLEMethod (DISPATCH_PROPERTYGET, & result1, pExcelSheet, L"Range", 1, range); Thanks, Lynn |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
BSTR to char* Help! | Excel Programming | |||
Is this release buggy? | Excel Discussion (Misc queries) | |||
Release Memory | Excel Discussion (Misc queries) | |||
Suggestions for the Next Release | Excel Discussion (Misc queries) | |||
Cannot release cell | Excel Discussion (Misc queries) |