I have an SDK that is written primarily in C#. We have some native code that was written for security and performance reasons. We use DllImport to interop with the native code. There are a few functions that I get an "Unable to find an entry point named '...' in DLL '...'.":"
" error. I have verified that the function that is not found is exported. I have verified that it does not have a mangled name. I have verified that the parameters line up. I have tried a couple different calling conventions in the DllImport attribute. I guess I can keep trying this sort of randomly, but I am hoping there is a more direct approach.
Does anyone know of a tool or method to get more information in a case like this? How confident should I be that the dll has been located? Would I get this exception if the parameters are wrong? Any help would be appreciated.
Pat O