Hello Mattias. the class inherits from an interface where the method is defined. In this definition the method is anotated with the PreserveSig attribute. Should't this be enough?
btw, another question: shouldn't the siganture: string GetCategoryName(int propcat, uint lcid ) only be used if pbstrName is an [out, retval] parameter? thanks. -- Regards, Luis Abreu email: labreu_at_gmail.com http://weblogs.pontonetpt.com/luisabreu http://www.pontonetpt.com http://weblogs.pontonetpt.com/ =================================== This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com