Reputation: 607
I've written a program that does extensive use of EasyHook. The program works just fine if I run it from Visual studio ( either in debug or release mode), but it stops working ( or better, it stops hooking) if I run it from the release folder. The question is simple, why? I run both visual studio and the application with the same user, on the same machine, so there should be no difference...
Upvotes: 1
Views: 2705
Reputation:
I run both visual studio and the application with the same user, on the same machine, so there should be no difference
I can make a random guess, since you don't provide much detail, and no error messages in your question.
Visual Studio 2008 and 2010 runs elevated (if I recall correctly). If you have not disabled UAC, then you will need to run your application as an Administrator.
Upvotes: 1
Reputation: 1267
check in your debug folder if you have any files that are not inside release folder (like .dll and so on) if so copy them to release folder! and if working then, then you probably use some external dll's or some references something like that... and you will also have to include them to your setup project!
Upvotes: 2