Interop without interop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tamir Khason

    #1

    Interop without interop

    Is it possible (if 'yes' - how) to transfer data from VB application to .NET
    application and v.v WITHOUT using Interop (very expencive process).
    I need to manipulate big bunches of raw data between VB6 and .NET
    application (both are running) - done benchmark:
    1) XML dom - VERY BAD
    2) Interop - BAD
    3) Pointers - GOOD and fast, but BAD (unmanaged)

    Any ideas how to do it/???


  • Daniel O'Connell

    #2
    Re: Interop without interop


    "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
    news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...[color=blue]
    > Is it possible (if 'yes' - how) to transfer data from VB application to[/color]
    ..NET[color=blue]
    > application and v.v WITHOUT using Interop (very expencive process).
    > I need to manipulate big bunches of raw data between VB6 and .NET
    > application (both are running) - done benchmark:
    > 1) XML dom - VERY BAD
    > 2) Interop - BAD
    > 3) Pointers - GOOD and fast, but BAD (unmanaged)[/color]
    Well, unsafe anyway. There are managed pointers[color=blue]
    >
    > Any ideas how to do it/???[/color]

    Have you considered using sockets, they are the standard workhorses used in
    most situations where large amounts of data need to be transfered(name d
    pipes can be used as well, but I don't know if VB has support for them and I
    know .NET doesn't). Pretty fast, accessible through both VB and .NET, not to
    hard to work with.
    [color=blue]
    >
    >[/color]


    Comment

    • Tamir Khason

      #3
      Re: Interop without interop

      I have a problem with that:
      1) VB - builded *not small* applications CAN NOT be rewrited (due client's
      budget issues)
      2) Working with *really BIG chunks of data and a LOT of iterations (1000
      i/sec - 500k each one)

      I have a way to do it in optomal low-budget way WITHOUT changing the current
      VB application


      "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
      news:eyFYtp1tDH A.2544@TK2MSFTN GP10.phx.gbl...[color=blue]
      >
      > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
      > news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...[color=green]
      > > Is it possible (if 'yes' - how) to transfer data from VB application to[/color]
      > .NET[color=green]
      > > application and v.v WITHOUT using Interop (very expencive process).
      > > I need to manipulate big bunches of raw data between VB6 and .NET
      > > application (both are running) - done benchmark:
      > > 1) XML dom - VERY BAD
      > > 2) Interop - BAD
      > > 3) Pointers - GOOD and fast, but BAD (unmanaged)[/color]
      > Well, unsafe anyway. There are managed pointers[color=green]
      > >
      > > Any ideas how to do it/???[/color]
      >
      > Have you considered using sockets, they are the standard workhorses used[/color]
      in[color=blue]
      > most situations where large amounts of data need to be transfered(name d
      > pipes can be used as well, but I don't know if VB has support for them and[/color]
      I[color=blue]
      > know .NET doesn't). Pretty fast, accessible through both VB and .NET, not[/color]
      to[color=blue]
      > hard to work with.
      >[color=green]
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Daniel O'Connell

        #4
        Re: Interop without interop


        "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
        news:ubkt3t1tDH A.1224@TK2MSFTN GP09.phx.gbl...[color=blue]
        > I have a problem with that:
        > 1) VB - builded *not small* applications CAN NOT be rewrited (due client's
        > budget issues)
        > 2) Working with *really BIG chunks of data and a LOT of iterations (1000
        > i/sec - 500k each one)
        >[/color]

        Hmm, interesting, ok, how does the VB app output its data?
        [color=blue]
        > I have a way to do it in optomal low-budget way WITHOUT changing the[/color]
        current[color=blue]
        > VB application
        >
        >
        > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
        > news:eyFYtp1tDH A.2544@TK2MSFTN GP10.phx.gbl...[color=green]
        > >
        > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
        > > news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...[color=darkred]
        > > > Is it possible (if 'yes' - how) to transfer data from VB application[/color][/color][/color]
        to[color=blue][color=green]
        > > .NET[color=darkred]
        > > > application and v.v WITHOUT using Interop (very expencive process).
        > > > I need to manipulate big bunches of raw data between VB6 and .NET
        > > > application (both are running) - done benchmark:
        > > > 1) XML dom - VERY BAD
        > > > 2) Interop - BAD
        > > > 3) Pointers - GOOD and fast, but BAD (unmanaged)[/color]
        > > Well, unsafe anyway. There are managed pointers[color=darkred]
        > > >
        > > > Any ideas how to do it/???[/color]
        > >
        > > Have you considered using sockets, they are the standard workhorses used[/color]
        > in[color=green]
        > > most situations where large amounts of data need to be transfered(name d
        > > pipes can be used as well, but I don't know if VB has support for them[/color][/color]
        and[color=blue]
        > I[color=green]
        > > know .NET doesn't). Pretty fast, accessible through both VB and .NET,[/color][/color]
        not[color=blue]
        > to[color=green]
        > > hard to work with.
        > >[color=darkred]
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • Tamir Khason

          #5
          Re: Interop without interop

          There are a couple of interfaces and public classes...

          "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
          news:Otr1i11tDH A.2148@TK2MSFTN GP12.phx.gbl...[color=blue]
          >
          > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
          > news:ubkt3t1tDH A.1224@TK2MSFTN GP09.phx.gbl...[color=green]
          > > I have a problem with that:
          > > 1) VB - builded *not small* applications CAN NOT be rewrited (due[/color][/color]
          client's[color=blue][color=green]
          > > budget issues)
          > > 2) Working with *really BIG chunks of data and a LOT of iterations (1000
          > > i/sec - 500k each one)
          > >[/color]
          >
          > Hmm, interesting, ok, how does the VB app output its data?
          >[color=green]
          > > I have a way to do it in optomal low-budget way WITHOUT changing the[/color]
          > current[color=green]
          > > VB application
          > >
          > >
          > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
          > > news:eyFYtp1tDH A.2544@TK2MSFTN GP10.phx.gbl...[color=darkred]
          > > >
          > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
          > > > news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...
          > > > > Is it possible (if 'yes' - how) to transfer data from VB application[/color][/color]
          > to[color=green][color=darkred]
          > > > .NET
          > > > > application and v.v WITHOUT using Interop (very expencive process).
          > > > > I need to manipulate big bunches of raw data between VB6 and .NET
          > > > > application (both are running) - done benchmark:
          > > > > 1) XML dom - VERY BAD
          > > > > 2) Interop - BAD
          > > > > 3) Pointers - GOOD and fast, but BAD (unmanaged)
          > > > Well, unsafe anyway. There are managed pointers
          > > > >
          > > > > Any ideas how to do it/???
          > > >
          > > > Have you considered using sockets, they are the standard workhorses[/color][/color][/color]
          used[color=blue][color=green]
          > > in[color=darkred]
          > > > most situations where large amounts of data need to be[/color][/color][/color]
          transfered(name d[color=blue][color=green][color=darkred]
          > > > pipes can be used as well, but I don't know if VB has support for them[/color][/color]
          > and[color=green]
          > > I[color=darkred]
          > > > know .NET doesn't). Pretty fast, accessible through both VB and .NET,[/color][/color]
          > not[color=green]
          > > to[color=darkred]
          > > > hard to work with.
          > > >
          > > > >
          > > > >
          > > >
          > > >[/color]
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Daniel O'Connell

            #6
            Re: Interop without interop


            "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
            news:Oqg2s71tDH A.2444@TK2MSFTN GP12.phx.gbl...[color=blue]
            > There are a couple of interfaces and public classes...
            >[/color]

            Hrmm, well, what about a VB6 wrapper that pumps data out via a socket?
            [color=blue]
            > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
            > news:Otr1i11tDH A.2148@TK2MSFTN GP12.phx.gbl...[color=green]
            > >
            > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
            > > news:ubkt3t1tDH A.1224@TK2MSFTN GP09.phx.gbl...[color=darkred]
            > > > I have a problem with that:
            > > > 1) VB - builded *not small* applications CAN NOT be rewrited (due[/color][/color]
            > client's[color=green][color=darkred]
            > > > budget issues)
            > > > 2) Working with *really BIG chunks of data and a LOT of iterations[/color][/color][/color]
            (1000[color=blue][color=green][color=darkred]
            > > > i/sec - 500k each one)
            > > >[/color]
            > >
            > > Hmm, interesting, ok, how does the VB app output its data?
            > >[color=darkred]
            > > > I have a way to do it in optomal low-budget way WITHOUT changing the[/color]
            > > current[color=darkred]
            > > > VB application
            > > >
            > > >
            > > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
            > > > news:eyFYtp1tDH A.2544@TK2MSFTN GP10.phx.gbl...
            > > > >
            > > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
            > > > > news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...
            > > > > > Is it possible (if 'yes' - how) to transfer data from VB[/color][/color][/color]
            application[color=blue][color=green]
            > > to[color=darkred]
            > > > > .NET
            > > > > > application and v.v WITHOUT using Interop (very expencive[/color][/color][/color]
            process).[color=blue][color=green][color=darkred]
            > > > > > I need to manipulate big bunches of raw data between VB6 and .NET
            > > > > > application (both are running) - done benchmark:
            > > > > > 1) XML dom - VERY BAD
            > > > > > 2) Interop - BAD
            > > > > > 3) Pointers - GOOD and fast, but BAD (unmanaged)
            > > > > Well, unsafe anyway. There are managed pointers
            > > > > >
            > > > > > Any ideas how to do it/???
            > > > >
            > > > > Have you considered using sockets, they are the standard workhorses[/color][/color]
            > used[color=green][color=darkred]
            > > > in
            > > > > most situations where large amounts of data need to be[/color][/color]
            > transfered(name d[color=green][color=darkred]
            > > > > pipes can be used as well, but I don't know if VB has support for[/color][/color][/color]
            them[color=blue][color=green]
            > > and[color=darkred]
            > > > I
            > > > > know .NET doesn't). Pretty fast, accessible through both VB and[/color][/color][/color]
            ..NET,[color=blue][color=green]
            > > not[color=darkred]
            > > > to
            > > > > hard to work with.
            > > > >
            > > > > >
            > > > > >
            > > > >
            > > > >
            > > >
            > > >[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • Michael Culley

              #7
              Re: Interop without interop

              Is it that bad to use unmanaged code?

              --
              Michael Culley


              "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...[color=blue]
              > Is it possible (if 'yes' - how) to transfer data from VB application to .NET
              > application and v.v WITHOUT using Interop (very expencive process).
              > I need to manipulate big bunches of raw data between VB6 and .NET
              > application (both are running) - done benchmark:
              > 1) XML dom - VERY BAD
              > 2) Interop - BAD
              > 3) Pointers - GOOD and fast, but BAD (unmanaged)
              >
              > Any ideas how to do it/???
              >
              >[/color]


              Comment

              • Jeffrey Tan[MSFT]

                #8
                RE: Interop without interop


                Hi Tamir,

                In windows, there are many ways of sharing data between processes, such as:
                Memory Mapping File(MMF), Named Pipe, CopyData Message, ClipBoard etc..
                But normally, all the other technologies use MMF to interprocess
                communication(o r transfer data).

                In the article below, the author tells you the way of using MMF to Cache
                and Share data between processes.
                And he wrote a class enabled us to read and write data between manage and
                unmanaged memory.


                Hope this helps,

                Best regards,
                Jeffrey Tan
                Microsoft Online Partner Support
                Get Secure! - www.microsoft.com/security
                This posting is provided "as is" with no warranties and confers no rights.

                Comment

                • Tamir Khason

                  #9
                  Re: Interop without interop

                  A well as I already mentioned, Socket is good solution for low iteractional
                  data, however in this project this not a state...


                  "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
                  news:e9Zjhr2tDH A.2464@TK2MSFTN GP12.phx.gbl...[color=blue]
                  >
                  > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                  > news:Oqg2s71tDH A.2444@TK2MSFTN GP12.phx.gbl...[color=green]
                  > > There are a couple of interfaces and public classes...
                  > >[/color]
                  >
                  > Hrmm, well, what about a VB6 wrapper that pumps data out via a socket?
                  >[color=green]
                  > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
                  > > news:Otr1i11tDH A.2148@TK2MSFTN GP12.phx.gbl...[color=darkred]
                  > > >
                  > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                  > > > news:ubkt3t1tDH A.1224@TK2MSFTN GP09.phx.gbl...
                  > > > > I have a problem with that:
                  > > > > 1) VB - builded *not small* applications CAN NOT be rewrited (due[/color]
                  > > client's[color=darkred]
                  > > > > budget issues)
                  > > > > 2) Working with *really BIG chunks of data and a LOT of iterations[/color][/color]
                  > (1000[color=green][color=darkred]
                  > > > > i/sec - 500k each one)
                  > > > >
                  > > >
                  > > > Hmm, interesting, ok, how does the VB app output its data?
                  > > >
                  > > > > I have a way to do it in optomal low-budget way WITHOUT changing the
                  > > > current
                  > > > > VB application
                  > > > >
                  > > > >
                  > > > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
                  > > > > news:eyFYtp1tDH A.2544@TK2MSFTN GP10.phx.gbl...
                  > > > > >
                  > > > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                  > > > > > news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...
                  > > > > > > Is it possible (if 'yes' - how) to transfer data from VB[/color][/color]
                  > application[color=green][color=darkred]
                  > > > to
                  > > > > > .NET
                  > > > > > > application and v.v WITHOUT using Interop (very expencive[/color][/color]
                  > process).[color=green][color=darkred]
                  > > > > > > I need to manipulate big bunches of raw data between VB6 and[/color][/color][/color]
                  ..NET[color=blue][color=green][color=darkred]
                  > > > > > > application (both are running) - done benchmark:
                  > > > > > > 1) XML dom - VERY BAD
                  > > > > > > 2) Interop - BAD
                  > > > > > > 3) Pointers - GOOD and fast, but BAD (unmanaged)
                  > > > > > Well, unsafe anyway. There are managed pointers
                  > > > > > >
                  > > > > > > Any ideas how to do it/???
                  > > > > >
                  > > > > > Have you considered using sockets, they are the standard[/color][/color][/color]
                  workhorses[color=blue][color=green]
                  > > used[color=darkred]
                  > > > > in
                  > > > > > most situations where large amounts of data need to be[/color]
                  > > transfered(name d[color=darkred]
                  > > > > > pipes can be used as well, but I don't know if VB has support for[/color][/color]
                  > them[color=green][color=darkred]
                  > > > and
                  > > > > I
                  > > > > > know .NET doesn't). Pretty fast, accessible through both VB and[/color][/color]
                  > .NET,[color=green][color=darkred]
                  > > > not
                  > > > > to
                  > > > > > hard to work with.
                  > > > > >
                  > > > > > >
                  > > > > > >
                  > > > > >
                  > > > > >
                  > > > >
                  > > > >
                  > > >
                  > > >[/color]
                  > >
                  > >[/color]
                  >
                  >[/color]


                  Comment

                  • Tamir Khason

                    #10
                    Re: Interop without interop

                    I agree, that unmanaged code is the fastest way to do it, but I want to try
                    to do it wihout (you know why...))

                    "Michael Culley" <mculley@NOSPAM optushome.com.a u> wrote in message
                    news:eO4o7Q6tDH A.2544@TK2MSFTN GP10.phx.gbl...[color=blue]
                    > Is it that bad to use unmanaged code?
                    >
                    > --
                    > Michael Culley
                    >
                    >
                    > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message[/color]
                    news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...[color=blue][color=green]
                    > > Is it possible (if 'yes' - how) to transfer data from VB application to[/color][/color]
                    ..NET[color=blue][color=green]
                    > > application and v.v WITHOUT using Interop (very expencive process).
                    > > I need to manipulate big bunches of raw data between VB6 and .NET
                    > > application (both are running) - done benchmark:
                    > > 1) XML dom - VERY BAD
                    > > 2) Interop - BAD
                    > > 3) Pointers - GOOD and fast, but BAD (unmanaged)
                    > >
                    > > Any ideas how to do it/???
                    > >
                    > >[/color]
                    >
                    >[/color]


                    Comment

                    • Daniel O'Connell

                      #11
                      Re: Interop without interop


                      "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                      news:OkFmgZ9tDH A.2260@TK2MSFTN GP09.phx.gbl...[color=blue]
                      > A well as I already mentioned, Socket is good solution for low[/color]
                      iteractional[color=blue]
                      > data, however in this project this not a state...[/color]
                      Well, whatever you do, you have to send it out somehow, its up to you to
                      send it out. If sockets aren't acceptable, then use memmapped files like
                      Jeffrey Tan suggested, or any other option.[color=blue]
                      >
                      >
                      > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
                      > news:e9Zjhr2tDH A.2464@TK2MSFTN GP12.phx.gbl...[color=green]
                      > >
                      > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                      > > news:Oqg2s71tDH A.2444@TK2MSFTN GP12.phx.gbl...[color=darkred]
                      > > > There are a couple of interfaces and public classes...
                      > > >[/color]
                      > >
                      > > Hrmm, well, what about a VB6 wrapper that pumps data out via a socket?
                      > >[color=darkred]
                      > > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
                      > > > news:Otr1i11tDH A.2148@TK2MSFTN GP12.phx.gbl...
                      > > > >
                      > > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                      > > > > news:ubkt3t1tDH A.1224@TK2MSFTN GP09.phx.gbl...
                      > > > > > I have a problem with that:
                      > > > > > 1) VB - builded *not small* applications CAN NOT be rewrited (due
                      > > > client's
                      > > > > > budget issues)
                      > > > > > 2) Working with *really BIG chunks of data and a LOT of iterations[/color]
                      > > (1000[color=darkred]
                      > > > > > i/sec - 500k each one)
                      > > > > >
                      > > > >
                      > > > > Hmm, interesting, ok, how does the VB app output its data?
                      > > > >
                      > > > > > I have a way to do it in optomal low-budget way WITHOUT changing[/color][/color][/color]
                      the[color=blue][color=green][color=darkred]
                      > > > > current
                      > > > > > VB application
                      > > > > >
                      > > > > >
                      > > > > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in[/color][/color][/color]
                      message[color=blue][color=green][color=darkred]
                      > > > > > news:eyFYtp1tDH A.2544@TK2MSFTN GP10.phx.gbl...
                      > > > > > >
                      > > > > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                      > > > > > > news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...
                      > > > > > > > Is it possible (if 'yes' - how) to transfer data from VB[/color]
                      > > application[color=darkred]
                      > > > > to
                      > > > > > > .NET
                      > > > > > > > application and v.v WITHOUT using Interop (very expencive[/color]
                      > > process).[color=darkred]
                      > > > > > > > I need to manipulate big bunches of raw data between VB6 and[/color][/color]
                      > .NET[color=green][color=darkred]
                      > > > > > > > application (both are running) - done benchmark:
                      > > > > > > > 1) XML dom - VERY BAD
                      > > > > > > > 2) Interop - BAD
                      > > > > > > > 3) Pointers - GOOD and fast, but BAD (unmanaged)
                      > > > > > > Well, unsafe anyway. There are managed pointers
                      > > > > > > >
                      > > > > > > > Any ideas how to do it/???
                      > > > > > >
                      > > > > > > Have you considered using sockets, they are the standard[/color][/color]
                      > workhorses[color=green][color=darkred]
                      > > > used
                      > > > > > in
                      > > > > > > most situations where large amounts of data need to be
                      > > > transfered(name d
                      > > > > > > pipes can be used as well, but I don't know if VB has support[/color][/color][/color]
                      for[color=blue][color=green]
                      > > them[color=darkred]
                      > > > > and
                      > > > > > I
                      > > > > > > know .NET doesn't). Pretty fast, accessible through both VB and[/color]
                      > > .NET,[color=darkred]
                      > > > > not
                      > > > > > to
                      > > > > > > hard to work with.
                      > > > > > >
                      > > > > > > >
                      > > > > > > >
                      > > > > > >
                      > > > > > >
                      > > > > >
                      > > > > >
                      > > > >
                      > > > >
                      > > >
                      > > >[/color]
                      > >
                      > >[/color]
                      >
                      >[/color]


                      Comment

                      • Alvin Bruney

                        #12
                        Re: Interop without interop

                        Use what the suger plumb fairy uses.

                        Pixie dust to share data.


                        "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
                        news:#8Nec3BuDH A.4056@TK2MSFTN GP11.phx.gbl...[color=blue]
                        >
                        > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                        > news:OkFmgZ9tDH A.2260@TK2MSFTN GP09.phx.gbl...[color=green]
                        > > A well as I already mentioned, Socket is good solution for low[/color]
                        > iteractional[color=green]
                        > > data, however in this project this not a state...[/color]
                        > Well, whatever you do, you have to send it out somehow, its up to you to
                        > send it out. If sockets aren't acceptable, then use memmapped files like
                        > Jeffrey Tan suggested, or any other option.[color=green]
                        > >
                        > >
                        > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
                        > > news:e9Zjhr2tDH A.2464@TK2MSFTN GP12.phx.gbl...[color=darkred]
                        > > >
                        > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                        > > > news:Oqg2s71tDH A.2444@TK2MSFTN GP12.phx.gbl...
                        > > > > There are a couple of interfaces and public classes...
                        > > > >
                        > > >
                        > > > Hrmm, well, what about a VB6 wrapper that pumps data out via a socket?
                        > > >
                        > > > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
                        > > > > news:Otr1i11tDH A.2148@TK2MSFTN GP12.phx.gbl...
                        > > > > >
                        > > > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in message
                        > > > > > news:ubkt3t1tDH A.1224@TK2MSFTN GP09.phx.gbl...
                        > > > > > > I have a problem with that:
                        > > > > > > 1) VB - builded *not small* applications CAN NOT be rewrited[/color][/color][/color]
                        (due[color=blue][color=green][color=darkred]
                        > > > > client's
                        > > > > > > budget issues)
                        > > > > > > 2) Working with *really BIG chunks of data and a LOT of[/color][/color][/color]
                        iterations[color=blue][color=green][color=darkred]
                        > > > (1000
                        > > > > > > i/sec - 500k each one)
                        > > > > > >
                        > > > > >
                        > > > > > Hmm, interesting, ok, how does the VB app output its data?
                        > > > > >
                        > > > > > > I have a way to do it in optomal low-budget way WITHOUT changing[/color][/color]
                        > the[color=green][color=darkred]
                        > > > > > current
                        > > > > > > VB application
                        > > > > > >
                        > > > > > >
                        > > > > > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in[/color][/color]
                        > message[color=green][color=darkred]
                        > > > > > > news:eyFYtp1tDH A.2544@TK2MSFTN GP10.phx.gbl...
                        > > > > > > >
                        > > > > > > > "Tamir Khason" <tamir-NOSPAM@tcon-NOSPAM.co.il> wrote in[/color][/color][/color]
                        message[color=blue][color=green][color=darkred]
                        > > > > > > > news:uM073l1tDH A.2448@TK2MSFTN GP09.phx.gbl...
                        > > > > > > > > Is it possible (if 'yes' - how) to transfer data from VB
                        > > > application
                        > > > > > to
                        > > > > > > > .NET
                        > > > > > > > > application and v.v WITHOUT using Interop (very expencive
                        > > > process).
                        > > > > > > > > I need to manipulate big bunches of raw data between VB6 and[/color]
                        > > .NET[color=darkred]
                        > > > > > > > > application (both are running) - done benchmark:
                        > > > > > > > > 1) XML dom - VERY BAD
                        > > > > > > > > 2) Interop - BAD
                        > > > > > > > > 3) Pointers - GOOD and fast, but BAD (unmanaged)
                        > > > > > > > Well, unsafe anyway. There are managed pointers
                        > > > > > > > >
                        > > > > > > > > Any ideas how to do it/???
                        > > > > > > >
                        > > > > > > > Have you considered using sockets, they are the standard[/color]
                        > > workhorses[color=darkred]
                        > > > > used
                        > > > > > > in
                        > > > > > > > most situations where large amounts of data need to be
                        > > > > transfered(name d
                        > > > > > > > pipes can be used as well, but I don't know if VB has support[/color][/color]
                        > for[color=green][color=darkred]
                        > > > them
                        > > > > > and
                        > > > > > > I
                        > > > > > > > know .NET doesn't). Pretty fast, accessible through both VB[/color][/color][/color]
                        and[color=blue][color=green][color=darkred]
                        > > > .NET,
                        > > > > > not
                        > > > > > > to
                        > > > > > > > hard to work with.
                        > > > > > > >
                        > > > > > > > >
                        > > > > > > > >
                        > > > > > > >
                        > > > > > > >
                        > > > > > >
                        > > > > > >
                        > > > > >
                        > > > > >
                        > > > >
                        > > > >
                        > > >
                        > > >[/color]
                        > >
                        > >[/color]
                        >
                        >[/color]


                        Comment

                        Working...