Hello Ram!
> Can I generate P/Invoke methods using CodeDom?
Generating the "DllImport" Attribute is no problem, because it's a normal
Attribute for CodeDom.
But: Creating the "extern" Modifiers for a CodeMemberMethod is not supported
by CodeDom. You may render a special comment, which will be replaced by the
"extern" Keyword during a text-based post-processing step.
GP
Ram Shriram - 06 Oct 2007 04:40 GMT
That's a bummer - Thank you for the confirmation, GP!
Ram
> Hello Ram!
>
[quoted text clipped - 8 lines]
>
> GP