Hi all..
i am pasting line of code where i am getting problem.
when i debug code(pasted bellow)in XP ,get_tables(&_result)assign list of tables to _result and value of hr becomes S_OK,but if same code i try with windows7(32 bit),get_tables function is assigning NULL(0X00000) Value to _result...(that is not excepted)and value of hr becomes
"the application called an interface that was marshalled for different thread" then ofter my application gets crashed...
why it is happening for windows7(32 bit)..
should i go for marshalleing thread???
or i need to change some settings for win7..
pls advice...
thanks in advance..
m_pCatalog->Tables->Append(_variant_t((IDispatch *) pTableNew));
While debugging i go this point(see bellow)
inline TablesPtr _Catalog::GetTables ( ) {
struct Tables * _result;
HRESULT _hr = get_Tables(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return TablesPtr(_result, false);
}