[Mono-list] can we add kernel32 dll in mono

Robert Jordan robertj at gmx.net
Wed Jul 15 07:21:11 EDT 2009


Bharti Mishra wrote:
> hi,
>    I am executing existind vb.net project in mono onto opensuse platfom. I
> am getting following error "System.Dllnotfoundexception:kernel32".
>   how can I add kernel32 dll in mono.
>   and can you explain me this error.

Kernel32.dll is a unmanaged core Windows DLL. It's not a .NET assembly
and it can't be added to Mono.

You have to fix this application by removing those p/invoke calls
with similar managed approaches.

If you don't know what p/invoke is, please ask the developer of this
vb.net project to fix the issue.

Robert




More information about the Mono-list mailing list