Alex Rivera | Logout

Static classes in Delphi (Win32)

Asked 2009-09-29T17:54:34.440
11

Is it in Delphi (Win32) possible to declare a whole class (not only a function of the class) as static?

Edit
Report

1 Answer

0

You can also create a new unit called uDG_Utils for example, define a class, define a global variable for that class and in the initialization and finalization section you manage the class constructor and destructor. Now all you need to do is call it like mySuperDuperClass.SuperMethod...

answered 2009-09-30T05:35:41.217

Your Answer