I'm trying to get the path to the SE/TC cache, as follows:
SolidEdgeFramework::SolidEdgeTCEPtr tCE = m_pApp->GetSolidEdgeTCE();
// some other code that uses tCE without any trouble
BSTR * bCachePath = NULL;
// this causes an access violation
// also tried
// access violation again
tCE is definitely valid, as I successfully use it to download a file immediately before this call. I'm probably doing something stupid here Any ideas?