tags:

views:

356

answers:

2

Can C# .net be used to create a win32 dll. If possible can someone tell me how to do it?

+1  A: 

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.

Philippe Leybaert
+1  A: 

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#.

srnayak