Jump to content
Registration disabled at the moment Read more... ×
Sign in to follow this  
c0d3r

variable might not have been intialized?

Recommended Posts

Could anyone help what the warning was about,  Codes was fine in Delphi2007, but not in Delphi 10.4.1:

 

image.thumb.png.45d66d782a854b233ca9de908aab6de9.png

 

image.thumb.png.5878d49400d7de522c78a3575064aca6.png

 

ServiceMethod:  TServiceMethod;   which is a  type of function (Sender: TObject, ...): variant of object;

Edited by c0d3r

Share this post


Link to post

Figured it out, the type should be a type of function,  not object function.

Edited by c0d3r

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×