![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using CLR (VB.NET -- C# and even C++ are options if necessary) to late-bind to an object at runtime. It's easy to late bind to method and property members (Dim obj as Object = myObj : Return obj.Name). I don't have access to any sort of type library, which is why I'm late-binding. Seems to work fine on these members. However, I'd like to know if it's possible to sink event handlers to the same object. VB.NET doesn't seem to automagically support late binding on events. Is this even possible? Willing to use any tool (C++ wrapper, etc) if necessary. Please direct me to a book, resource, tool, or simple advice. Thanks. Thanks, Jon |
#3
| |||
| |||
|
|
However, I'd like to know if it's possible to sink event handlers to the same object. VB.NET doesn't seem to automagically support late binding on events. Is this even possible? Willing to use any tool (C++ wrapper, etc) if necessary. |
#4
| |||
| |||
|
|
Clarification: The events are raised by the COM object. I'm not raising them to the COM object. I'm trying to handle the COM object's events. Without a type library, I don't know how. Just write a COM-Wrapper, wich is able to catch the COM-Events |
#5
| |||
| |||
|
|
"Jon Davis" <jon (AT) REMOVE (DOT) ME.PLEASE.jondavis.net> schrieb im Newsbeitrag news:%23yxP3uHgGHA.764 (AT) TK2MSFTNGP03 (DOT) phx.gbl... Clarification: The events are raised by the COM object. I'm not raising them to the COM object. I'm trying to handle the COM object's events. Without a type library, I don't know how. Just write a COM-Wrapper, wich is able to catch the COM-Events of any desired LateBound-COM-Object(s) - and delegate them from its central EventHandler-Routine to your Application. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |