Andrew Talbot wrote:
-HRESULT WINAPI AtlModuleLoadTypeLib(_ATL_MODULEW *pM, LPCOLESTR lpszIndex,
BSTR *pbstrPath, ITypeLib **ppTypeLib)
+static HRESULT WINAPI AtlModuleLoadTypeLib(_ATL_MODULEW *pM, LPCOLESTR lpszIndex,
BSTR *pbstrPath, ITypeLib **ppTypeLib)
Did you try compiling & linking this? WINAPI is usually only applied to exported functions.
Robert Shearman wrote:
Did you try compiling & linking this? WINAPI is usually only applied to exported functions.
Hi Rob,
My patch was totally wrong: I think I must have compiled and linked the "before" version. I infer that an exported function (in the DLL sense) must have external linkage (in the C sense).
Thanks,
-- Andy.