*buffer{#BYTES}
Posted: Thu Jul 13, 2006 12:10 am
*buffer{...} instead of AllocateMemory(...) - just like string${...} instead of Space(...)
Code: Select all
ApiCall_(*buffer{1024})
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
ApiCall_(*buffer{1024})
That looks horrible. Not really Pure.MLK wrote:*buffer{...} instead of AllocateMemory(...) - just like string${...} instead of Space(...)
Code: Select all
ApiCall_(*buffer{1024})
Code: Select all
GetTempPath_(255, @TempPath${255})
Code: Select all
If GetTempPath_(#MAX_PATH, @result.s{#MAX_PATH})
Debug result
EndIf