elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales


  Mostrar Mensajes
Páginas: [1] 2
1  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 12 Marzo 2015, 04:52 am
es un groso pude pasar ahora me larga otro error esto es increíble!

oDrawIndexedPrimitive = (tDrawIndexedPrimitive)DetourFunction((BYTE*)pVTable[82], (BYTE*)hkDrawIndexedPrimitive);

agradecería su ultima ayuda si ya no me sale me retiro lol
2  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 12 Marzo 2015, 02:55 am
Tema: (ayuda) copilar dll  (Leído 507 veces) solo 2 respuestas constructivas
3  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 12 Marzo 2015, 02:54 am
ho perdón pero sigo sin una respuesta constructiva al error que me sale gracias   
4  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 12 Marzo 2015, 02:02 am
te agradezco el tiempo que te tomas en responder, sin ofenderte me parece que esta mas que claro que tengo 0 información de programación o creación de dll etc me parece que para esas cosas están los foros o paginas que uno puede acudir a pedir ayuda o bien compartir sus conocimientos de otra manera no estaría pidiendo ayuda acá y mirando todo el dia el tema a ver si alguien responde a mi pedido, es tanta mi ignorancia sobre el tema que e visto que mucha gente lo mira pero nadie responde lo que me lleva a pensar que estaba olvidando poner algo o que falto algo y asta el momento sigo esperando una respuesta constructiva como las anteriores que me dio y agradezco
5  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 11 Marzo 2015, 07:21 am
necesitan mas información?
6  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 9 Marzo 2015, 16:30 pm
ya pude pasar esa parte :D ahora me sale un error al finales el siguiente

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
7  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 9 Marzo 2015, 07:14 am
el del problema soy yo los de mas lo pudieron hacer bien si te paso las cosas te fijas si vos lo podes copilar por favor
8  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 9 Marzo 2015, 05:34 am
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 'HRESULT hkSetVertexShaderConstantF(LPDIRECT3DDEVICE9, UINT, const float*, UINT)':
dllmain.cpp:156:16: error: 'nullptr' was not declared in this scope
  if (Device == nullptr)
                ^

dllmain.cpp: In function 'void DX_Init(DWORD*)':
dllmain.cpp:430:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  pVTable = (DWORD*)pVTable[0];
                             ^
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: 5
- Compilation Time: 2,25s



y esta linea sale en rojo ( if (Device == nullptr) )
9  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 9 Marzo 2015, 02:58 am
si las tengo a las 2 (gracias por responder :) ) el DirectX SDK el descargable de junio del 2010 que ya l tengo y el Detour tambien lo tengo queres que te deje los link de descarga?
10  Programación / Programación C/C++ / Re: (ayuda) copilar dll en: 6 Marzo 2015, 01:09 am
bueno gracias a todos por ayudarme, buscare ayuda en otro lado.
Páginas: [1] 2
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines