Affichage des articles dont le libellé est object.. Afficher tous les articles
Affichage des articles dont le libellé est object.. Afficher tous les articles

jeudi 6 mars 2014

[Help] Getting function pointer from object topic




Hey guys!

I need the function pointer (to the function "Release") of my ID3DXFont* object.
How to get it?

I tried already with:

Code:


ID3DXFont* pFont;
ULONG (__stdcall ID3DXFont::*myFunc)(void) = &ID3DXFont::Release;

Call<ULONG>((void*)&myFunc, 0); // Call<type>(void* funcLocation, numOfParams, ...);


But it doesnt work because the address is not correct
can u guys help me?

meldino





jeudi 23 janvier 2014

Link object files from VC++ and GCC? topic




In the alternative, does anyone know of a version of a Windows-based C/C++
compiler that will honor the compound literal syntax, which will link in
with the correct object format?

Best regards,
Rick C. Hodgin