How can i get properties of com object dynamically
-
Actually i am developing a class in which it will take any com object and will be able to set and get the properties. Now i have taken the clsid of the component. Now how can i get its properties as GetIdsofNames function of IDispatch takes names. Please Guide me briefly with a little example or tell me some article Thanx in advance Regards minamkhan Inam
-
Actually i am developing a class in which it will take any com object and will be able to set and get the properties. Now i have taken the clsid of the component. Now how can i get its properties as GetIdsofNames function of IDispatch takes names. Please Guide me briefly with a little example or tell me some article Thanx in advance Regards minamkhan Inam
See this article and source code: http://www.codeproject.com/com/comdispatchdriver.asp[^] -- Gott weiß ich will kein Engel sein.