ianhinson wrote:
> --- In [email protected], Rob Kennedy <[EMAIL PROTECTED]> wrote:
>> Of course, any function that receives a pointer to a buffer should 
>> also receive a number indicating the size of that buffer.
> 
> Generally, I'd agree. But in the case of Windows.GetModuleFileName 
> there is no buffer length parameter, so the wrapper function also has 
> to trust that the programmer has allocated a big enough buffer.

We're clearly not looking at the same functions.

Maybe you're thinking of GetTempPath or ShGetFolderPath?

-- 
Rob

Reply via email to