Reputation: 1687
Can C# .net be used to create a win32 dll. If possible can someone tell me how to do it?
Upvotes: 3
Views: 1158
Reputation: 103
No way, C# code will be converted to IL which will be run in the CLR. So you can not make a native win32 dll using C#.
Upvotes: 1
Reputation: 171734
AFAIK, it's not possible to write unmanaged code in C#. You're stuck with C/C++.
You can, however, write COM components in C# that can be called from any Windows application.
Upvotes: 1