Hello,
I create a simple .NET class to simulate phone calls. I would use this class as an dotnet variable to catch some events from it. But it is impossible to create dotnet variable with events. So I decided to build the dll with registering for COM interop, also made the assembly COM-visible.
I am now enable to declare my class as automation variable. But when I set withevents property of the variable to yes, I can not see any additional function as an event handler.
I am sure that I miss something but I don't know what
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
So I must create the COM class with classic methods?
Dynamics NAV Developer since 2005
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I found a helpful link:
http://msdn.microsoft.com/en-us/library/aa973247.aspx
Dynamics NAV Developer since 2005
[Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Tips & Tricks' forum]
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!