Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I get EFILENOEXISTS error sometimes, in mysterious circumstances, when trying to create an instance AND THE DLL FILE EXISTS. Anybody having a similar experience? What might be the cause (this is not in the normal errors this method might return and on top of it I don't get it all the time)

Thanks!
Radu

i just got rid of that problem by creating another extension at first, and ISHELL_CreateInstance returned 0. After that i created my extension. it was like below
nResult = ISHELL_CreateInstance(pMe->pIShell, AEECLSID_DBMGR, (void**)&pMe->pIDBMgr);
nResult = ISHELL_CreateInstance(pMe->pIShell, AEECLSID_MYEXT, (void**)&pMe->pIDBMgr);

i just got rid of that problem by creating another extension at first, and ISHELL_CreateInstance returned 0. After that i created my extension. it was like below
nResult = ISHELL_CreateInstance(pMe->pIShell, AEECLSID_DBMGR, (void**)&pMe->pIDBMgr);
nResult = ISHELL_CreateInstance(pMe->pIShell, AEECLSID_MYEXT, (void**)&pMe->pIDBMgr);