Visual Studio Create Project Example Procedure Question

Aug 14, 2012 at 11:45 AM

Hello,

I have tried several times to create a project from zero, to add my EasyHook code, but it always end not working.

I always need to take the Filemon project, & modify it to make my project work.

Usually this is what i do:

- Create new console project
- Change .NET runtime version to 3.5
- Add sign file to the project
- Disable VS hosting process
- Add EasyHook.dll to references
...

But when i try to launch the project, it always crashes, and complains about not being able to load the Injection DLL.

Thank you.

Coordinator
Aug 19, 2012 at 2:05 PM

You need to ensure all the binaries in the binary package are located in your application directory.

If you use 2.7 you do not need to install into the GAC either.

Aug 19, 2012 at 2:28 PM

I was having a similar error dealing in c++ which always gave me the following error:

Unable to load the given 64-bit library into target process.

I was trying to load a 32 bit dll in a 64 bit process.