We built a project in c# that uses a .dll which we use p/invoke to access functions within the .dll. It works on our development machines, we can create an installation version of our software which runs fine but if we load it on other xp machines and windows 7 machines which aren't dev machines it reports an error that the .dll that it is trying to p/invoke cannot be found. The error is repored as the 'the application has failed to start because its side by side configuration is not correct.'
What开发者_JAVA技巧 are we doing wrong?
Thanks, Ron.
Try installing the VC++ redistributable.
Also check that the dll is in the path. It does make a difference, I swear!
精彩评论