Francisco,
Yes, you may. You have to tag the method with the DispId attribute,
giving it a dispatch id of 0 (which means the method is the default method).
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard. caspershouse.co m
"Francisco" <fj********@ari on.eswrote in message
news:11******** ************@y4 2g2000hsy.googl egroups.com...
Hello,
May I have a method exported as default on a exported COM interop
from a C# dll using attributes?
Thanks in advance.