[fpc-pascal] error while compiling

2010-02-06 Thread dayat
Dear, I have a function ftest located in library program (dll). function ftest(Param: PWideChar): PWideChar; stdcall; export; And will call them with a program with use: function ftest(Param: PWideChar): PWideChar; stdcall; external 'test.dll'; while compiling to exe, I got error like this:

Re: [fpc-pascal] error while compiling

2010-02-06 Thread Jonas Maebe
On 06 Feb 2010, at 09:21, dayat wrote: I have a function ftest located in library program (dll). function ftest(Param: PWideChar): PWideChar; stdcall; export; And will call them with a program with use: function ftest(Param: PWideChar): PWideChar; stdcall; external 'test.dll'; while