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.