Displaying 1 result from an estimated 1 matches for "strcpy_p".
Did you mean:
strcpy_s
2011 Aug 25
2
strcpy declaration
In windows-pr strcpy is declared with a prototype of "PL". However, I can''t
make that work:
require ''win32/api''
include Win32
Strcpy_p = Win32::API.new(''strcpy'', ''PP'', ''L'', ''msvcrt'')
Strcpy_l = Win32::API.new(''strcpy'', ''PL'', ''L'', ''msvcrt'')
buf = 0.chr * 4
str = "hello"
Strcpy_p...