C DLL doesn't load in C#
问题 I have a simple C DLL (not COM). I have also a C# 2.0 application that runs it (dllimport). The dll is placed in the exe of the application. I know that the dll is ok and also that my application that calls it success reading it, but when I move them to another computer it says that it can load the dll. The error : "Unable to load the dll name.dll . This application has failed to start because the application configuration is incorrect." I used visual studio 2005 to create the dll. The targer