PDA

View Full Version : error 257 (0x101) when ISHELL_CreateInstance


radub
03-28-2002, 02:05 PM
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

bureax
05-25-2008, 07:10 PM
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);