http://qs1969.pair.com?node_id=360311


in reply to Re^2: Win32::API giving a program error
in thread Win32::API giving a program error

You have your output parameter set as an Integer. That can't be good...

Should probably be N or P, no?
  • Comment on Re^3: Win32::API giving a program error

Replies are listed 'Best First'.
Re^4: Win32::API giving a program error
by Ven'Tatsu (Deacon) on Jun 03, 2004 at 18:49 UTC
    The previously stated function signature take 2 pointers to strings and retunrs and integer, so that should be correct.
    INT GetFileVersionTxt(STRING sFile, out STRING sVersion)