|
-
Jan 25th, 2007, 09:28 AM
#1
Thread Starter
Member
[RESOLVED] callback from com doesnt work
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|