Re: atl: Declare some items static

2007-01-02 Thread Andrew Talbot
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 link

Re: atl: Declare some items static

2007-01-02 Thread Robert Shearman
Andrew Talbot wrote: -HRESULT WINAPI AtlModuleLoadTypeLib(_ATL_MODULEW *pM, LPCOLESTR lpszIndex, -BSTR *pbstrPath, ITypeLib **ppTypeLib) +static HRESULT WINAPI AtlModuleLoadTypeLib(_ATL_MODULEW *pM, LPCOLESTR lpszIndex, +