I'm confused as to why you're using the UnmanagedFunctionPointerAttribute
to get the dll function and then go through all that marshalling mess. Wasn't a simple DllImport
enough?
G
George Tryfonas
@George Tryfonas
Posts
-
Unmanaged dll call from C#, AccessViolationExceptionMessage [modified]