Log in

View Full Version : Custom function descriptions


helloword
March 26th, 2003, 05:00
Can someone help me on this issue.
I have an API in VB6 ex:__vbaVarDiv

My assembler code

0041DCDF push edx
0041DCE0 push eax
0041DCE1 call near dword ptr ds:[<&MSVBVM60.__vbaVarDiv>]

TYPE X_V
????????
END
TYPE Y_V
???????
END

STDFUNC __vbaVarDiv
"x value" X_V
"y value" X_V
END

OK this function divide 2 variants (x/y)
At the same time how can I display the result

helloword
March 26th, 2003, 05:02
Can someone write the whole code that needs to be added in the common.arg file
Thank in advance

TBD
March 26th, 2003, 06:08
you can use this or can change HEX with INT, UINT, CHAR (unlikely 'coz it is math function):
---
TYPE X_V
HEX
END

TYPE X_V
HEX
END

STDFUNC __vbaVarDiv
"x" X_V
"y" Y_V
END
---

helloword
March 26th, 2003, 10:29
Thank for the answer TBD
I just update the file common.arg and restart Ollydbg but the Ollydbg do not display anything in plus.
I think there is something wrong somewhere.

I will be nice, if someone post a common.arg file for VB6 or C++ functions description.

TBD
March 27th, 2003, 00:41
helloword: i tried with a custom DLL and everything worked perfectly.
any error in the Log window ? or other information regarding common.org ?

also redo the analysis to see the changes.