PDA

View Full Version : ODbgScript GPA for Ordinal


PaulGerken
September 25th, 2007, 01:07
Hi,
I had been trying to set a GPA on an Ordinal entry point without luck.
If there is a syntax that works, please advise.

Or, could something like the following be added to GPA...
(I don't have MFC, and ODbgScript won't compile in Watcom for me)...
tkx, Paul

//9/24/07 add for Ordinal proc values
//gpa 319.,"msjet40.dll" omit the #-sign, make it decimal.
if (is_dec(op[0]) {
ulong ord; //or DWord??
GetAnyOpValue(op[0], ord);
p = GetProcAddress(hMod, ord);
}
else {
p = GetProcAddress(hMod, proc.c_str());
}