I am creating an ActiveX library in Delphi in which a particular object has a property called DevelopmentCount with a single parameter of type date. Internally the property getter calls a similarly named function on a normal Delphi object where the single parameter is optional (this last factor may be irrelevant).
When we compile this library in Delphi 2006 to the end user (using Excel VBA) it appears that the single parameter of the DevelopmentCount propery is optional.
We have moved over to Delphi 2009 (have been using it for 6 months or more). When the same library is compiled with Delphi 2009, to the end user, the single parameter of the DevelopmentCount property is no longer optional.
My question is, how can I make this parameter appear to be optional with Delphi 2009.