madsun
Jan 25th, 2007, 08:28 AM
Hi
I have an activex with some callbacks..How can get my values...??
public abstract virtual System.Int32 GetValue ( System.Int32 myId , System.Object Value )
System.Object Value is the callback...
So..i can do f.ex
int id = 5000;
object a="";
myControl.getValue(id,ref a);
...however, this gives me datatype mismatch..
The callback is supposed to be a "ref object" type, how can i get this to work?
I have an activex with some callbacks..How can get my values...??
public abstract virtual System.Int32 GetValue ( System.Int32 myId , System.Object Value )
System.Object Value is the callback...
So..i can do f.ex
int id = 5000;
object a="";
myControl.getValue(id,ref a);
...however, this gives me datatype mismatch..
The callback is supposed to be a "ref object" type, how can i get this to work?