Hi, Jeffrey!
As far as I know, COM dlls exports several predefined functions such as
DllRegisterServer, DllCanUnload etc. How can I export function with other
name (clustering API requires me exporting Start function)? Or... may be I
miss your thought?
The second link solves exact problem, but it is too awkward developing
application is such a way

. Do you know, is this problem will be addressed
in next C# version?
Thanks a lot,
Alexander.
"Jeffrey Tan[MSFT]" said:
Hi Alexander,
Based on my understanding, you want to create a managed dll which exports
function to unmanaged code.
I think you can create a managed dll and create a COM wrapper for it. The
article below tells you how to do COM wrapper:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconcustomizingcomcallablewrappers.asp
The article below shows how to: "Export Managed Code as Unmanaged"
http://www.c-sharpcorner.com/Code/2003/Aug/ExportManagedCodeasUnmanaged.asp
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.