Fixed a problem with the LoadTypeLib method.
This commit is contained in:
parent
adf8a0cbe6
commit
98231044e3
|
@ -1068,6 +1068,8 @@ int TLB_ReadTypeLib(PCHAR file, ITypeLib **ppTypeLib)
|
|||
tlbSegDir.pImpInfo.res0c != 0x0F
|
||||
) {
|
||||
ERR( typelib,"cannot find the table directory, ptr=0x%lx\n",lPSegDir);
|
||||
CloseHandle(cx.hFile);
|
||||
return E_FAIL;
|
||||
}
|
||||
/* now fill our internal data */
|
||||
/* TLIBATTR fields */
|
||||
|
|
Loading…
Reference in New Issue