02.02.2014, 02:45, "Fred van Stappen" :
>> > Yep, thanks Michael.
>> >
>> > Hum, may i export dynamic array ?
>>
>> No, you'll need to export these as (typed) pointers and a count.
>>
>> Regards,
>> Sven
>
> Re-Argh, ok, (and i understand now why the library-examples are so simple
> :-) ).
>
29.01.2014, 14:36, "Michael Van Canneyt" :
> On Wed, 29 Jan 2014, Michael Van Canneyt wrote:
>
>> On Wed, 29 Jan 2014, hinst wrote:
>>> I want to use an environment variable in FPC configuration file; is this
>>> not possible?
>>> I created samp
I want to use an environment variable in FPC configuration file; is this not possible?I created sample project which demonstrates the problem. I have one main source file and one unit which is located in subdirectory.I try to compile my program with this bash script: #!/bin/bashexport mvar=meowfpc=
27.01.2014, 15:02, "Fred van Stappen" :
>> Date: Mon, 27 Jan 2014 08:53:25 +0100
>> From: xhaj...@hajny.biz
>> To: fpc-pascal@lists.freepascal.org
>> Subject: Re: [fpc-pascal] Pure FPC ?
>>
>> On Mon, January 27, 2014 01:38, Fred van Stappen wrote:
>> > Ok, i will try to explain better.
>> >
>> > W
I suggest you use COM interfaces to use FPC objects from Delphi code. While FPC
class instance memory layout differs from Delphi class instance memory layout,
COM interface instances should have identical memory layouts; so they should be
accessible from Delphi code
17.01.2014, 04:31, "silviopr
I identified the problem
Take a look at the function declaration plz:
Function GetProcAddress(Lib : TlibHandle; const ProcName : AnsiString) :
Pointer; // from dynlibs
It internally uses this function:
Function GetProcedureAddress(Lib : TLibHandle; const ProcName : AnsiString) :
Pointer;
10.01.2014, 11:19, "leledumbo" :I'm writing a web app hosting several tasks in FPC, however one of the taskis calling a function residing in a .NET dll. I've made a flat C interfacefor the dll (so that I can call it from FPC easily), and it works just fineIF the dll is somehow loaded first. Curre