FIX THIS?

Posts 115 of 24 · Page 1 of 2
FIX THIS?
1>------ Build started: Project: CaBase, Configuration: Release Win32 ------
1> DirectX.cpp
1>DirectX.cpp(109): error C2661: 'DetourCreate' : no overloaded function takes 2 arguments
1>DirectX.cpp(110): error C2661: 'DetourCreate' : no overloaded function takes 2 arguments
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
no overloaded function takes 2 arguments
Code:
1>------ Build started: Project: CaBase, Configuration: Release Win32 ------
1> DirectX.cpp
...
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Look at your DetourCreate function , and look at how many arguments you put.
Ze arguments must be the same number of parameters.
Quote Originally Posted by NOOB View Post
Ze arguments must be the same number of parameters.
In other words,

Quote Originally Posted by Fabolous View Post
Look at your DetourCreate function , and look at how many arguments you put.


learn c++?
Pasha sdfu you dont know c++ and im trying to learn...it has 2 arguments
You mad?
your mom is mad

u mad?
lol, Much?


Yeah, Something similar to this happened to me before.
1>------ Build started: Project: d3dx_hook, Configuration: Debug Win32 ------
1> detourxs.cpp
1> cMenu.cpp
1> cMain.cpp
1>c:\users\owner\downloads\combined base v3\combined base v3\d3dx_hook\cmain.cpp(93): error C2562: 'HookzShit' : 'void' function returning a value
1> c:\users\owner\downloads\combined base v3\combined base v3\d3dx_hook\cmain.cpp(85) : see declaration of 'HookzShit'
1> cHacks.cpp
1> cFunctions.cpp
1> ADE32.cpp
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Quote Originally Posted by nucks View Post
1>------ Build started: Project: d3dx_hook, Configuration: Debug Win32 ------
1> detourxs.cpp
1> cMenu.cpp
1> cMain.cpp
1>c:\users\owner\downloads\combined base v3\combined base v3\d3dx_hook\cmain.cpp(93): error C2562: 'HookzShit' : 'void' function returning a value
1> c:\users\owner\downloads\combined base v3\combined base v3\d3dx_hook\cmain.cpp(85) : see declaration of 'HookzShit'
1> cHacks.cpp
1> cFunctions.cpp
1> ADE32.cpp
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
btw, that dc's. needs updating...
Quote Originally Posted by nucks View Post
1>------ Build started: Project: d3dx_hook, Configuration: Debug Win32 ------
1> detourxs.cpp
1> cMenu.cpp
1> cMain.cpp
1>c:\users\owner\downloads\combined base v3\combined base v3\d3dx_hook\cmain.cpp(93): error C2562: 'HookzShit' : 'void' function returning a value
1> c:\users\owner\downloads\combined base v3\combined base v3\d3dx_hook\cmain.cpp(85) : see declaration of 'HookzShit'
1> cHacks.cpp
1> cFunctions.cpp
1> ADE32.cpp
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
You know they tell you the errors for a reason :
'void' function returning a value
a void cannot have any returns in it

return 1 or return false
Posts 115 of 24 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?