Hi.
I am working with MTS and I have heard that Raising Events are a bad idea.
Is it true?
I have heard Raising Events may not work with some vertions of Windows98.
Hi zallen.
Well, I am working with Visual Basic 6.0.
I need that my MTS component sends continuously information to the client but I don't want the component stops its execution (I dont want that the method finishes to return information).
I thougth it was a good idea (I am talking about using Raising Events) but I found an article (
Every book and article that I read discourages the use of Events from MTS components. Actually, it is discouraged from any Data-Centric Business Object -- basically any back-end ActiveX DLL or ActiveX EXE. Two way communication complicates matters and has a bad effect on network traffic.
I understand if you don't want to send back a ton of parameters from your methods; however, you can try to send back one parameter that serializes all of data that you need to send back. Have you thought of using PropertyBag objects?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.