PDA

View Full Version : Help me Cobra (D3D)



str1k3r21
12-30-2007, 02:31 PM
Okay look I got a source I do exacty As said and when I build Hook I get this:


--------------------Configuration: hook - Win32 Debug--------------------
Compiling...
d3d8dev.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\hook\d3d8dev.cpp(42) : warning C4551: function call missing argument list
C:\Program Files\Microsoft Visual Studio\MyProjects\hook\d3d8dev.cpp(43) : warning C4551: function call missing argument list
C:\Program Files\Microsoft Visual Studio\MyProjects\hook\d3d8dev.cpp(56) : warning C4551: function call missing argument list
C:\Program Files\Microsoft Visual Studio\MyProjects\hook\d3d8dev.cpp(57) : warning C4551: function call missing argument list
Linking...
LINK : fatal error LNK1104: cannot open file "Debug/hook.dll"
Error executing link.exe.

hook.dll - 1 error(s), 4 warning(s)

When I click on them they bring me here :


HRESULT CD3DManager::Release()
{
_SAFE_RELEASE(texRed);
_SAFE_RELEASE(texYellow);
return S_OK;
}
And Here:


HRESULT CD3DManager::PreReset()
{
_SAFE_RELEASE(texRed);
_SAFE_RELEASE(texYellow);
return S_OK;
}


Whats the probleme Here?

man2fight
12-30-2007, 02:42 PM
can you give your whole dev code

str1k3r21
12-30-2007, 02:42 PM
No its a VIP source code.

man2fight
12-30-2007, 02:45 PM
then i cant help you

Dxt-Cobra
12-30-2007, 02:52 PM
ROFL

OK well this is your problem,teh rest is warnings no big deal.


LINK : fatal error LNK1104: cannot open file "Debug/hook.dll"
Error executing link.exe.


You arnt making a .exe your making a .dll

"Error executing link.exe."

make it build a .dll not a .exe

str1k3r21
12-30-2007, 03:01 PM
Yeah Thats what im doing lol.I do Build then build .dll Whats up with that ?

thimo
02-13-2008, 01:31 PM
ROFL

OK well this is your problem,teh rest is warnings no big deal.


LINK : fatal error LNK1104: cannot open file "Debug/hook.dll"
Error executing link.exe.


You arnt making a .exe your making a .dll

"Error executing link.exe."

make it build a .dll not a .exe

Lol cobra, don't you know that "link.exe" is the linker that links the lib's togetha?

Try renaming it back to TatniumD3D.dll

Credzis
03-22-2008, 01:55 PM
u have

LoadLibrary("Debug/Hook.dll");

or anyting else in your source that wants to load the HOOK.DLL file, wich does not exists.