Originally posted by Peter Lameijn:
lpBuffer receives multiple NULL separated strings, so Asciiz won't work...
lpBuffer receives multiple NULL separated strings, so Asciiz won't work...
However, the more usual method is to use a preallocated dynamic string, and use BYVAL STRPTR(sBuffer$).
Note that the use of ASCIIZ in the declarations is accurate to how these API's are defined by Microsoft.
GetAncestor()
Requires Windows NT 4.0 SP4 or later.
Requires Windows 98 or later.
Anyway, I'll pass both of these along with a view to getting WIN32API.INC updated as R&D deem appropriate.
Thanks!
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment: