471,354 Members | 1,293 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

COM callbacks

DR
I use a COM object in C# that supports callbacks. In VB I would use code
like this
obj.SetCallback GetRef(MyCallback)
How about C#?
Feb 20 '06 #1
3 1326
I use a COM object in C# that supports callbacks. In VB I would use code
like this
obj.SetCallback GetRef(MyCallback)


What does GetRef do? It's not a standard VB function as far as I can
remember.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Feb 20 '06 #2
GetRef is VBScript as far as I know.

Willy.

"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:Os**************@TK2MSFTNGP11.phx.gbl...
|
| >I use a COM object in C# that supports callbacks. In VB I would use code
| >like this
| >obj.SetCallback GetRef(MyCallback)
|
| What does GetRef do? It's not a standard VB function as far as I can
| remember.
|
|
| Mattias
|
| --
| Mattias Sjögren [C# MVP] mattias @ mvps.org
| http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
| Please reply only to the newsgroup.
Feb 20 '06 #3
>GetRef is VBScript as far as I know.

Yes you're right, that explains why I've never heard of it. :)
Mattias

--
Mattias Sjögren [C# MVP]
Feb 20 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Melissa Wallis | last post: by
2 posts views Thread by Mike C. Fletcher | last post: by
1 post views Thread by vijaya | last post: by
2 posts views Thread by johny smith | last post: by
5 posts views Thread by Christopher Jastram | last post: by
4 posts views Thread by womanontheinside | last post: by
reply views Thread by anilkoli | last post: by
9 posts views Thread by zholthran | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.