helloword
September 2nd, 2003, 11:07
In VB 6 the function vbaVarCmpEq compare two variables and the code source should be
Dim Var1 as String
Dim Var2 as String
Var1 = 10
Var2 = 20
If Var1 = Var2 then
Do something
End if
This is a possible example assembler code
lea ecx, dword ptr ss:[ebp-100]
push ecx ; (Var1 = 10)
lea edx, dword ptr ss:[ebp-90]
push edx ; (Var2 = 20)
call near dword ptr ds:[<&MSVBVM60.__vbaVarCmpEq>] ; (If Var1 = Var2 then)
OK I have a simple question.
Can someone write the common.arg file for me to better understand how does it work.
Thank you in advance
Dim Var1 as String
Dim Var2 as String
Var1 = 10
Var2 = 20
If Var1 = Var2 then
Do something
End if
This is a possible example assembler code
lea ecx, dword ptr ss:[ebp-100]
push ecx ; (Var1 = 10)
lea edx, dword ptr ss:[ebp-90]
push edx ; (Var2 = 20)
call near dword ptr ds:[<&MSVBVM60.__vbaVarCmpEq>] ; (If Var1 = Var2 then)
OK I have a simple question.
Can someone write the common.arg file for me to better understand how does it work.
Thank you in advance