Jump to content

MSK61

Members
  • Posts

    1
  • Joined

  • Last visited

MSK61's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I spotted what could probably be a bug. I'm using the latest version v3.8 for AutoIt 3.3.6.1. The function _WinAPI_GetProcAddress, when it's provided with a symbol name, passes the parameter to the win32 API function GetProcAddress as wstr. GetProcAddress documentation on MSDN http://msdn.microsoft.com/en-us/library/windows/desktop/ms683212%28v=vs.85%29.aspx however states that the symbol name parameter is LPCSTR, which imposes using str, not wstr. I tested the function with a sample script that tried to get the address of GetWindowTextA from User32.dll and the function failed. When I changed the parameter type from wstr to str, it worked fine.
×
×
  • Create New...