What steps will reproduce the problem?
1. Unable to load library in Lazarus due to bad definition of QueryInterface
function QueryInterface(const IID: TGUID; out Obj)
to make the function cross compiler - you can use the following declaration.
function QueryInterface({$IFDEF FPC_HAS_CONSTREF}constref{$ELSE}const{$ENDIF} iid : tguid;out obj) : longint;{$IFNDEF WINDOWS}cdecl{$ELSE}stdcall{$ENDIF};
Attached are the files
Original issue reported on code.google.com by marc...@gmail.com on 4 Aug 2014 at 6:17
Original issue reported on code.google.com by
marc...@gmail.com
on 4 Aug 2014 at 6:17Attachments: