ciao.
Sto utilizzando un server com per importare dei dati, e mi da un errore indefinito(nel senso che avviende dopo 3 / 4 importazioni)
Bisogna forse fare il delete delle stringhe BSTR?
se si' come?
potrebbe essere quello il problema?
io ho provato con
ma mi da quest'errore :codice:SysFreeString(strEmpty_T);
Unhandled exception at 0x7c91120e in CMP.exe: User breakpoint.
e si frma qui nelle classi
inline void _bstr_t:ata_t::_Free() throw()
{
if (m_wstr != NULL) {
::SysFreeString(m_wstr);
}
if (m_str != NULL) {
delete [] m_str;
}
}
Grazie