justinstenning / Direct3DHook

DirectX Capture and Overlays by using Direct3D API hooks
http://spazzarama.com/2011/03/14/c-screen-capture-and-overlays-for-direct3d-9-10-and-11-using-api-hooks
MIT License
580 stars 178 forks source link

Cannot move files, C++ error #37

Closed sarpaykent closed 8 years ago

sarpaykent commented 8 years ago

All the files are in the /bin/ folder it works fine for example i move /bin/ folder to c:\ it doesnt working giving Capture.InjectionFailedException: Injection to the target process failed. See InnerException for more detail. ---> System.ApplicationException: STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 15)

justinstenning commented 8 years ago

What do you mean by "i move /bin/ folder to c:\"? Do you mean you are moving the files from bin into C:\ or you are moving the files into C:\bin?

If moving into C:\ root then you will have issues with needing to run as administrator etc...

sarpaykent commented 8 years ago

It doesn't matter where I move the files, I tried everything like moving files from projectdir/bin/ folder to projectdir/bin/test/ folder still giving error. (When files are in the projectdir/bin/ it works)

justinstenning commented 8 years ago

What was the problem in the end?

sarpaykent commented 8 years ago

I have no idea, after upgrading windows 10 problem is solved :)