Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. [COM]DrCOM-Monitor Tool and more?[COM]

[COM]DrCOM-Monitor Tool and more?[COM]

Scheduled Pinned Locked Moved C#
csharphelpvisual-studiocomsysadmin
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kenokabe
    wrote on last edited by
    #1

    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.

    M 1 Reply Last reply
    0
    • K kenokabe

      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.

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      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

      K 1 Reply Last reply
      0
      • M Mazdak

        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

        K Offline
        K Offline
        kenokabe
        wrote on last edited by
        #3

        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

        M 1 Reply Last reply
        0
        • K kenokabe

          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

          M Offline
          M Offline
          Mazdak
          wrote on last edited by
          #4

          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

          K 1 Reply Last reply
          0
          • M Mazdak

            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

            K Offline
            K Offline
            kenokabe
            wrote on last edited by
            #5

            Yes, I understand that. WhatI'm wondering is how to interact to COM in the working thread not as a new instance. Maybe I could find something in articles you shown me here. Best, Ken

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups