没有互操作的互操作 [英] Interop without interop

查看:74
本文介绍了没有互操作的互操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能(如果'是'' - 如何)将数据从VB应用程序传输到.NET

应用程序和vv没有使用Interop(非常昂贵的过程)。

我需要在VB6和.NET之间操作大量原始数据

应用程序(两者都在运行) - 完成基准:

1)XML dom - 非常糟糕

2)Interop - BAD

3)指针 - 好又快,但坏(不受管理)


任何想法如何它/ ???

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/???

推荐答案



Tamir Khason < TA ********** @ tcon-NOSPAM.co.il>在消息中写道

news:uM ************** @ TK2MSFTNGP09.phx.gbl ...

"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
是否有可能(如果''是'' - 如何)将数据从VB应用程序传输到
..NET应用程序和vv没有使用Interop(非常昂贵的过程)。
我需要在VB6和VB6之间操作大量原始数据.NET
应用程序(两者都在运行) - 完成基准:
1)XML dom - 非常糟糕
2)Interop - BAD
3)指针 - 好又快,但不好(不受管理)
好​​吧,无论如何都不安全。有管理指针
任何想法怎么做/ ???


您是否考虑使用套接字,它们是

中使用的标准工具,大多数情况下需要传输大量数据(命名为
也可以使用
管道,但我不知道VB是否支持它们,而且我知道.NET不知道。非常快,可通过VB和.NET访问,而不是难以使用。
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) Well, unsafe anyway. There are managed pointers
Any ideas how to do it/???
Have you considered using sockets, they are the standard workhorses used in
most situations where large amounts of data need to be transfered(named
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.



I有一个问题:

1)VB - 建立*不小*应用程序不能重写(由于客户'

预算问题)

2)使用*真正大量的数据和大量的迭代(1000

i / sec - 每个500k)


我有一个以低廉的预算方式实现这一目标而不改变现状

VB应用

Daniel O''Connell < onyxkirx @ - NOSPAM--comcast.net>在消息中写道

新闻:ey ************** @ TK2MSFTNGP10.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 (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:ey**************@TK2MSFTNGP10.phx.gbl...

" ; Tamir Khason < TA ********** @ tcon-NOSPAM.co.il>在消息中写道
新闻:uM ************** @ TK2MSFTNGP09.phx.gbl ...

"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
是否有可能(如果''是' ' - 如何)将数据从VB应用程序传输到.NET
Is it possible (if ''yes'' - how) to transfer data from VB application to .NET
应用程序和vv没有使用Interop(非常昂贵的过程)。
我需要在VB6和VB6之间操作大量的原始数据。 NET
应用程序(两者都在运行) - 完成基准测试:
1)XML dom - 非常糟糕
2)Interop - BAD
3)指针 - 好又快,但不好(BAD) unmanaged)
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 used



在大多数需要传输大量数据的情况下(也可以使用命名管道,但我不知道VB是否支持它们)和
我知道.NET不会。相当快,可通过VB和.NET访问,而不是
难以使用。


in most situations where large amounts of data need to be transfered(named
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.






" Tamir Khason" < TA ********** @ tcon-NOSPAM.co.il>在消息中写道

新闻:ub ************** @ TK2MSFTNGP09.phx.gbl ...

"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:ub**************@TK2MSFTNGP09.phx.gbl...
我遇到了问题那个:
1)VB - 建立*不小*应用程序不能重写(由于客户的预算问题)
2)使用*真正的大块数据和很多迭代次数(1000次/秒 - 每次500k)


嗯,有趣,好吧,VB应用程序如何输出数据?

我可以用低成本的低预算方式完成这项工作,而无需更改
当前的VB应用程序

Daniel O''Connell < onyxkirx @ - NOSPAM--comcast.net>在消息中写道
新闻:ey ************** @ TK2MSFTNGP10.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 (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 the current VB application
"Daniel O''Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...

Tamir Khason < TA ********** @ tcon-NOSPAM.co.il>在消息中写道
新闻:uM ************** @ TK2MSFTNGP09.phx.gbl ...

"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
是否有可能(如果''是' ' - 如何)将数据从VB应用程序
Is it possible (if ''yes'' - how) to transfer data from VB application


传输到.NET

to .NET

应用程序和vv没有使用Interop(非常昂贵的过程)。
我需要操纵大VB6和.NET
应用程序之间的原始数据串(两者都在运行) - 完成基准:
1)XML dom - 非常糟糕
2)Interop - BAD
3)指针 - 好又快,但不好(不管理)好吧,反正不安全。有管理指针
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 used


大多数情况下需要传输大量数据(也可以使用命名
管道,但我不知道是否VB支持他们
most situations where large amounts of data need to be transfered(named
pipes can be used as well, but I don''t know if VB has support for them



和我


and I

知道.NET没有)。非常快,可通过VB和.NET访问,
know .NET doesn''t). Pretty fast, accessible through both VB and .NET,


不能

难以使用。
hard to work with.





这篇关于没有互操作的互操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆