Quantcast
Channel: Delphi Forum - Delphi Programming Kings of Code - All Forums
Viewing all articles
Browse latest Browse all 3619

error of source in a update of component D7 to XE10.1

$
0
0
Hello,

I start programming in Delphi using examples. I am not much stuck to start developing my own components. I am trying to update the TLedButton component of this RackCtls component package (You can't view the links! Click here to register Everything is recognized in XE10.1 except this procedure in a third file (rrcolors.pas) which manages the colors:

Procedure OutOfResources;
Begin
{$ IFDEF VER100_up}
Raise EOutOfResources.Create (SOutOfResources);
{$ ELSE}
Raise EOutOfResources.CreateRes (SOutOfResources);
{$ ENDIF}
End;

I have this error:
[Dcc32 Error] rrColors.pas (157): E2250 No overloaded version of 'CreateRes' can be called with these arguments.
Will a good soul correct me for this error?
I have already searched under google. I can not find any tracks on the CreateRes call.
Thanks in advance.
The

 

 

Viewing all articles
Browse latest Browse all 3619

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>