User Defined Attributes

Walter Bright newshound2 at digitalmars.com
Tue Nov 6 12:47:55 PST 2012


On 11/6/2012 12:33 PM, John Chapman wrote:
> On Tuesday, 6 November 2012 at 17:20:10 UTC, Walter Bright wrote:
>> On 11/6/2012 9:07 AM, John Chapman wrote:
>>> UDAs appear to work on class, struct and global methods, but not interface
>>> methods. Any reason for the omission? Would be great to have them on interface
>>> methods too - for example to define COM dispids.
>>
>> Can you show an example code snippet?
>
> It would save having to read the registry and load type libraries at runtime
> just to map method names to corresponding IDs.

I could use a compilable one :-)

Yes, I could edit it until it was compilable, but often that makes the problem 
go away and then there's more back and forth.



More information about the Digitalmars-d-announce mailing list