Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid type conversion compiler error in DetournNT.cpp and re-definition Linker errors #4

Open
pussinboots1992 opened this issue Feb 18, 2021 · 0 comments

Comments

@pussinboots1992
Copy link

pussinboots1992 commented Feb 18, 2021

I was trying to build your injector project which depends on this projet. I am getting compiler errors regarding this cast:

*reinterpret_cast<void**>(nullptr) = nullptr;

I am also getting function re-definition errors and unresolved external symbols:

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK1120	3 unresolved externals	injdll	C:\Users\William\source\repos\injdrv\bin\x64\Debug\injdllx64.dll	1	
Error	LNK2005	DetourGetModuleSize already defined in detours.lib(modules.obj)	injdll	C:\Users\William\source\repos\injdrv\src\injdll\DetoursNT.lib(DetoursNT.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(detours.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(disasm.obj)	1	
Error	LNK2001	unresolved external symbol __GSHandlerCheck	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(modules.obj)	1	
Error	LNK2019	unresolved external symbol __security_check_cookie referenced in function DetourTransactionCommitEx	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(detours.obj)	1	
Error	LNK2001	unresolved external symbol __security_check_cookie	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(disasm.obj)	1	
Error	LNK2001	unresolved external symbol __security_check_cookie	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(modules.obj)	1	
Error	LNK2019	unresolved external symbol __security_cookie referenced in function DetourTransactionCommitEx	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(detours.obj)	1	
Error	LNK2001	unresolved external symbol __security_cookie	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(disasm.obj)	1	
Error	LNK2001	unresolved external symbol __security_cookie	injdll	C:\Users\William\source\repos\injdrv\src\injdll\detours.lib(modules.obj)	1	



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant