Author Topic: D3DStarterKit On x64 Machine  (Read 1859 times)

0 Members and 1 Guest are viewing this topic.

mesengr

  • Relentless Teamkiller
  • **
  • Posts: 51
    • View Profile
D3DStarterKit On x64 Machine
« on: August 14, 2009, 06:51:02 pm »
I am trying to use DetourFunc() and RetourFunc() from the D3DStartKit on a Windows Server 2003 x64 machine. I have compiled my program (a .dll file) on a Windows XP 32-bit machine.

The DetourFunc() seems to work improperly. Is there any reason why it should function differently on an x64 machine?

mesengr

  • Relentless Teamkiller
  • **
  • Posts: 51
    • View Profile
Re: D3DStarterKit On x64 Machine
« Reply #1 on: August 14, 2009, 11:50:53 pm »
I figured out a way around it, by using Microsoft Detours Express 2.1. So it works now, but I'm still curious: why would these functions not work properly on a 64 bit machine? Are the "jump lengths" different or something?

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9179
    • View Profile
    • http://www.tkc-community.net
Re: D3DStarterKit On x64 Machine
« Reply #2 on: August 15, 2009, 12:53:38 am »
If that's the case, there could be a problem with the WOW64 emulation. It might appear only in Windows Server 2003 x64.
Heckling is an art, and game hacking a science.

MrMedic

  • Moderator
  • MasstKer
  • *
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: D3DStarterKit On x64 Machine
« Reply #3 on: August 15, 2009, 03:10:30 am »
differs in allignment *4 the offset from base of vtable its ^2 ie 8bytes
« Last Edit: August 15, 2009, 03:32:52 am by MrMedic »
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157