Compiling project changes...
--------
- Project Filename: C:\Users\Intrepido\Documents\Proyecto1.dev
- Compiler Name: TDM-GCC 4.8.1 64-bit Release
Building makefile...
--------
- Filename: C:\Users\Intrepido\Documents\Makefile.win
Processing makefile...
--------
- Makefile Processor: C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\mingw32-make.exe
- Command: mingw32-make.exe -f "C:\Users\Intrepido\Documents\Makefile.win" all
g++.exe -c dllmain.cpp -o dllmain.o -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.8.1/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++" -DBUILDING_DLL=1
dllmain.cpp: In function 'void DX_Init(DWORD*)':
dllmain.cpp:430:28: error: 'O' was not declared in this scope
pVTable = (DWORD*)pVTable
- ;
dllmain.cpp: In function 'DWORD DxHook(LPVOID)':
dllmain.cpp:450:81: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
oDrawIndexedPrimitive = (tDrawIndexedPrimitive)DetourFunction((BYTE*)pVTable[82], (BYTE*)hkDrawIndexedPrimitive);
^
dllmain.cpp:451:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
oEndScene = (tEndScene)DetourFunction((BYTE*)pVTable[42], (BYTE*)hkEndScene);
^
dllmain.cpp:452:89: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
oSetVertexShaderConstantF = (tSetVertexShaderConstantF)DetourFunction((BYTE*)pVTable[94], (BYTE*)hkSetVertexShaderConstantF);
^
dllmain.cpp:453:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
oCreateQuery = (tCreateQuery)DetourFunction((BYTE*)pVTable[118], (BYTE*)hkCreateQuery);
^
C:\Users\Intrepido\Documents\Makefile.win:30: recipe for target 'dllmain.o' failed
mingw32-make.exe: *** [dllmain.o] Error 1
Compilation results...
--------
- Errors: 1
- Warnings: 4
- Compilation Time: 0,78s
me marca en rojo esto ( pVTable = (DWORD*)pVTable[0]; ) que esta en la linea 430
disculpen tantas molestias