silva103 wrote:
@Christian Graus: i dont want to give concept about Function or Method, but in my situation i write a method and a function in same class, i build it into DLL and use in C#. But when i use this class C# just recognize the method and not function.
I'm sorry, but 10 years of experience as a developer, including quite some time with COM, and apart from the possibility that you think it's a function if it does not appear in the interface ( which is false ), I have no idea what the hell you're talking about.
Like I said, I am not sure that a COM dll can have the methods not on it's interface called via p/invoke, which is surely what the other guy linked to.