Hi,

>> Parameters declared as OUT never need to be initialized when you call the
>> function. To make this clear is the only (but good) reason to use OUT
>> instead of VAR.
>
> Are you speaking about Delphi or C?

There is no VAR keyword in C - but if MS declares a parameter as OUT, you 
don't have to initialize it before calling the function.

>> It is a pointer to a PChar.
>
> But PChar is a pointer, isn't it? :-)
> What I want to point out is that the parametera are different as usual 
> when a
> pre-dimensioned buffer is passed.

If you translate that to Pascal/Delphi, you get
FUNCTION xyz(OUT P: PChar)
That's not so unusual for me.

>> GlobalFree?
>
> I don't know. For another function of the same library

Why not just call it and see if it returns an error?

Good luck
Gunnar 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to