Jump to content



Photo

DllCall


  • Please log in to reply
No replies to this topic

#1 piccaso

piccaso

    Rock me, Amadeus!

  • MVPs
  • 893 posts

Posted 31 August 2007 - 05:18 PM

It would be nice if there where a way to tell DllCall which parameter to return instead of the whole array.
Maybe like this:
$nSize = DllCall("msvcrt.dll","int:cdecl#0","strlen","str","Hello") ; notice the '#0' ConsoleWrite($nSize & @CRLF)

I know it saves only a line of code, or even 3 chars if you use the array as it is
but it looks easier to understand :) (for me).
And besides that, these two: '[]' are very badly located on a german keyboard ;)
Posted Image CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users