Nice leech.
Printable View
Nice leech.
thanks cereal (:
Hello to all I know that the dev c + + I tried to do the ant and the severity of this error hack
Compilador: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executando make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
main.cpp: In function `void AntiInject()':
main.cpp:3: error: `HANDLE' undeclared (first use this function)
main.cpp:3: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:3: error: expected `;' before "hProc"
main.cpp:4: error: `TRUE' undeclared (first use this function)
main.cpp:5: error: `hProc' undeclared (first use this function)
main.cpp:5: error: `BlockAPI' undeclared (first use this function)
main.cpp:6: error: `Sleep' undeclared (first use this function)
main.cpp: At global scope:
main.cpp:10: error: `BOOLEAN' does not name a type
make.exe: *** [main.o] Error 1
Execu
[quote=ygoraugusto;5161528]Hello to all I know that the dev c + + I tried to do the ant and the severity of this error hack
Compilador: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executando make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
main.cpp: In function `void AntiInject()':
main.cpp:3: error: `HANDLE' undeclared (first use this function)
main.cpp:3: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:3: error: expected `;' before "hProc"
main.cpp:4: error: `TRUE' undeclared (first use this function)
main.cpp:5: error: `hProc' undeclared (first use this function)
main.cpp:5: error: `BlockAPI' undeclared (first use this function)
main.cpp:6: error: `Sleep' undeclared (first use this function)
main.cpp: At global scope:
main.cpp:10: error: `BOOLEAN' does not name a type
make.exe: *** [main.o] Error 1
Execu
[quote=ygoraugusto;5161528]Hello to all I know that the dev c + + I tried to do the ant and the severity of this error hack
Compilador: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executando make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
main.cpp: In function `void AntiInject()':
main.cpp:3: error: `HANDLE' undeclared (first use this function)
main.cpp:3: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:3: error: expected `;' before "hProc"
main.cpp:4: error: `TRUE' undeclared (first use this function)
main.cpp:5: error: `hProc' undeclared (first use this function)
main.cpp:5: error: `BlockAPI' undeclared (first use this function)
main.cpp:6: error: `Sleep' undeclared (first use this function)
main.cpp: At global scope:
main.cpp:10: error: `BOOLEAN' does not name a type
make.exe: *** [main.o] Error 1
Execu
[quote=Blood*;5159664]Include In The Tutorial w/ Images.
You Need a Eyes o_
http://upanh.com/uploads/07-Aug-2009...k61kxwciu6.jpg
Help me with this problem?
My main.cpp code:
Quote:
#include <windows.h>
#include <iostream>
using namespace std;
__declspec(dllexport) BOOL __stdcall DllMain(HINSTANCE hInst,DWORD reason,LPVOID lpv);
DllClass::DllClass()
{
}
DllClass::~DllClass ()
{
}
__declspec(dllexport) BOOL __stdcall DllMain(HINSTANCE hInst,DWORD reason,LPVOID lpv)
{
MessageBox(0,"Test Dll",0,0);
}
erm well this may sound like a noob question but in Dev C++ for the second tut, how do ya open up the main.cpp once you have the dll opened up xO.
EDIT:
Nvm, I realize how it works now. Now I just would like to ask if anybody knows how to "decompile" a dll. In other words, get the source code of it so I can edit the .cpp, and recompile it.
Can you give me a example? plz! That is the thing I need! But i don't know!
http://upanh.com/uploads/07-Aug-2009...4weqold41i.jpg
http://upanh.com/uploads/07-Aug-2009...s6tvfuaewl.jpg
:/:
I am not quite sure on this, because I haven't looked at the source, only the dllimport routine. :P:Code:extern "C"
{
__declspec(dllexport) BOOL __stdcall DllMain(HINSTANCE hInst, DWORD reason, LPVOID lpv)
{
DisableThreadLibraryCalls(hInst);
if (reason == DLL_PROCESS_ATTACH)
{
MessageBox(NULL, "Message Here", "Title", MB_OK);
}
return true;
}
}
it's not work, still the error _DllMain@12 could not be load.....
i like visual studio C++ 2008 express , for compile ;)