anniel
March 16th, 2001, 10:14 AM
Hello,
I am doing multithread with ActiveX.exe, and I need passing the address of a variable to another variable.
============================
class1:
dim o as long
...
class2.myjob o
...
========================================
class2
private x as long
public sub myjob(byref y as long)
x=y
end sub
=======================
in the code, I need x get the address of y just like y get the address from the program who called it.
So if the value of x changed, the value of o will change automaticly.
Thanks
I am doing multithread with ActiveX.exe, and I need passing the address of a variable to another variable.
============================
class1:
dim o as long
...
class2.myjob o
...
========================================
class2
private x as long
public sub myjob(byref y as long)
x=y
end sub
=======================
in the code, I need x get the address of y just like y get the address from the program who called it.
So if the value of x changed, the value of o will change automaticly.
Thanks