FPC-Pascal users discussions schrieb am
17.01.06 07:52:13:
>
> > FPC can´t assign value to address, where Delphi can. For example:
> Did you use {$mode delphi} ? ...
Thanks a lot, Peter. In my cfg file, I had OP extensions on. Switched to Delphi
mode, and I have other problems again :-)
W
>> In Delphi, the line
>>
>> @UserDataEvent := pointer(FUserDataHandlers[I]);
>>
>> is common practice. What is the difference to FPC and the appropriate
>> workaround?
Forgive me for jumping in without reading the whole thread (Webmail is a
real PITA for this) but; No that is not complete
> FPC can´t assign value to address, where Delphi can. For example:
>
> TDomNode = class(TDomCustomNode);
> private
> ...
> FUserData : TUtilsWideStringList;
> FUserDataHandlers : TList;
> ...
>
> destructor TDomNode.Destroy;
> var
> I: Integer;
> UserDataEvent: TDomUs
FPC can´t assign value to address, where Delphi can. For example:
TDomNode = class(TDomCustomNode);
private
...
FUserData : TUtilsWideStringList;
FUserDataHandlers : TList;
...
destructor TDomNode.Destroy;
var
I: Integer;
UserDataEvent: TDomUserDataEvent;
begin
//