--- Comment #4 from Rainer Schuetze <> 2011-04-08 23:22:01 
PDT ---
If you look it up in shlwapi.h in the SDK, it is declared as

LWSTDAPI_(BOOL)     PathRemoveFileSpecA(__inout LPSTR pszPath);

and LWSTDAPI_(BOOL) expands to 'extern "C" __declspec(dllimport) BOOL
__stdcall translates to D as extern(Windows).

I have tried your code, and I get a link error with "extern(C)". I have used
coff2implib to convert the library from the sdk, because I have had problems
with implib on DLLs in the past, it especially misses a number of symbols.

With "extern(Windows)", I can link and run your code without problems.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to