Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Vb 6.0 __vbaVarTstEq in SoftIce?? (https://forum.exetools.com/showthread.php?t=2476)

Nad Af 08-10-2003 04:59

Vb 6.0 __vbaVarTstEq in SoftIce??
 
Hi:
Can you help me with the following:
I have a VB6 project, it contains one Form, Text Box and Command button pasted on the form, the button click event is:

Private Sub Command1_Click()
Dim A As Variant
A = "Here is my code"
If Text1 = A Then MsgBox "OK"
End Sub


When I debug the program using SoftIce:
bpx __vbaVarTstEq!


push eax
push ecx
mov [ebp - 28], edi
mov dword ptr [ebp -3c], 008008
call [msvbvm60!__vbaVarTstEq]


I suppose eax, ecx are the arguments (variables) though i am not sure,
but the problem is when I dereference eax, I get "???????" invalid memory; ecx, too.
How to calculate the variables of type Variant in Visual Basic 6.0?


All times are GMT +8. The time now is 21:35.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX