[COM]DrCOM-Monitor Tool and more?[COM]
-
Hi, My first post here... DrCOM Monitor tool http://www.ddevel.com/DrCOM/DrCOMMonitor.asp I found this somewhat useful. Let me tell you what I'm strugling now. I'm a system trader. I currently connect my C# application to a broker trading application which has API. However, since I found another good broker/trading platform, I'm considering to switch for it. The problem is this trading application of the broker does not have API. The target software is 100% COM based. All of the component is accessible. The whole software part is built on COM servers/dll. At first, I tried to study the COM classes which I can browse in VS.net2003 object browser, but it's way too complicated and needs a security key in proccess, so I gave up to build from zero. Instead, I had changed the approach to hooking COM while the existing target software is working normally. I found DrCOM and ran the target software, then I could 'INVOKE' a command such as Object.SendLogout(). The software actually had logged out from the server, and that is controled by the external tool. Wonderful, I felt. However, I still cannot figure out the detail between COM and the target application. DrCOM shows which Object/Class responses, but does not show which Ojbect/Class-method is called from the target app. Plus, I don't know how to build C# app invoking the object command/picking the object event. I have read these 2 extraordinary articles expecting they would help me http://www.codeproject.com/system/hooksys.asp http://www.codeproject.com/com/automatingwindowsapps.asp however, the both are on Win32 API and a little different from what I need. Well, I've been doing this for 2 weeks straight, but almost give up. Anyone can suggest me a better tool than DrCOM, or how I can create such invoking capability by C#, or any good resources? Thank you very much. Any comments are wecome :| Ken PS. I tried TracePlus software already.
-
Hi, My first post here... DrCOM Monitor tool http://www.ddevel.com/DrCOM/DrCOMMonitor.asp I found this somewhat useful. Let me tell you what I'm strugling now. I'm a system trader. I currently connect my C# application to a broker trading application which has API. However, since I found another good broker/trading platform, I'm considering to switch for it. The problem is this trading application of the broker does not have API. The target software is 100% COM based. All of the component is accessible. The whole software part is built on COM servers/dll. At first, I tried to study the COM classes which I can browse in VS.net2003 object browser, but it's way too complicated and needs a security key in proccess, so I gave up to build from zero. Instead, I had changed the approach to hooking COM while the existing target software is working normally. I found DrCOM and ran the target software, then I could 'INVOKE' a command such as Object.SendLogout(). The software actually had logged out from the server, and that is controled by the external tool. Wonderful, I felt. However, I still cannot figure out the detail between COM and the target application. DrCOM shows which Object/Class responses, but does not show which Ojbect/Class-method is called from the target app. Plus, I don't know how to build C# app invoking the object command/picking the object event. I have read these 2 extraordinary articles expecting they would help me http://www.codeproject.com/system/hooksys.asp http://www.codeproject.com/com/automatingwindowsapps.asp however, the both are on Win32 API and a little different from what I need. Well, I've been doing this for 2 weeks straight, but almost give up. Anyone can suggest me a better tool than DrCOM, or how I can create such invoking capability by C#, or any good resources? Thank you very much. Any comments are wecome :| Ken PS. I tried TracePlus software already.
kenokabe wrote: _http://www.codeproject.com/system/hooksys.asp_ C# version: http://www.codeproject.com/csharp/NetWin32Hooks.asp[^] Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope
-
kenokabe wrote: _http://www.codeproject.com/system/hooksys.asp_ C# version: http://www.codeproject.com/csharp/NetWin32Hooks.asp[^] Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope
-
Thank you Mazy, This is still tweaking some Win32 level, I still don't know how to interact to COM. Oh well, I may be going to wait thier API reliease. Ken
kenokabe wrote: I still don't know how to interact to COM To use COM dll in your class,write click you reference and select COM tab and select your dll fromm it,it create a wrapper for you to use you dll in .net. Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope
-
kenokabe wrote: I still don't know how to interact to COM To use COM dll in your class,write click you reference and select COM tab and select your dll fromm it,it create a wrapper for you to use you dll in .net. Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope