Win32 dll in C # .net

Can C # .net be used to create win32 dll. If possible, will someone tell me how to do this?

+3
source share
2 answers

AFAIK, it is not possible to write unmanaged code in C #. You are stuck in C / C ++.

However, you can write COM components in C # that can be called from any Windows application.

+1
source

No, C # code will be converted to IL, which will be run in the CLR. Thus, you cannot create a native win32 dll using C #.

+1
source

Source: https://habr.com/ru/post/1713311/


All Articles