dde

How to Cache Real-time Data?

女生的网名这么多〃 提交于 2019-12-11 03:23:08
问题 I'm working on a windows forms application (.NET 4.0). My form contains a 'Fast Line' chart using the Microsoft chart control included in VS2010. The chart gets filled with about 20,000 datapoints. My application then starts receiving market data from a server via DDE (Dynamic Data Exchange) in real-time and adds it the chart. Note: I have no control over the server and so I have to deal with DDE only even though it's an outdated technology. VS doesn't support DDE anymore and so I use the

Embed an application (exe file) into another exe file (mozEmbed like)

感情迁移 提交于 2019-12-04 12:32:44
问题 I would like to embed mozilla firefox into my application WITHOUT using any activex control (TWebBrowser wrapper, mozilla ActiveX...). I tried using TWebBrowser (actually bsalsa's embedded webBrowser wich is by far better), but all versions of IE seem incompatible with some features of popular javascript framework and libs (JQuery, ExtJS...). My question is : can I call firefox's Exe from my application (is it possible with DDE or OLE) and above all SHOW IT inside my app using a TFrame or

What are windows IPC methods

泄露秘密 提交于 2019-12-04 01:36:38
问题 Question: I have a dll that I can load in another program. Now the dll has access to all data/functions in the other program. Which technology can I use that now an external program can send data/commands to that dll, to steer the other program, or get data from it ? I mean, in the past that meant DDE, I think that was back in Windows 3.11/95 times. What can I use today? Which one is easiest ? Which one is fastest? 回答1: Some common ones are: Named Pipes. Fairly easy to implement. Shared

给自己的deepin安装一个网速内存cpu监控插件

别来无恙 提交于 2019-12-03 08:15:58
首先声明我也是查网上数据学习然后动手安装的哈~ 首先我找到了这个大神写的监控小工具 这里是他的github网址 https://github.com/q77190858/dde-sys-monitor-plugin 他这里分为了两种安装模式,一种是自己编译然后把生成的.so文件放到指定系统文件夹 另一种是直接使用他编译好的文件放到指定文件 我这里选择的是自己编译,毕竟多动手有益脑部健康 我们进入他的主页,然后下载源代码 https://github.com/q77190858/dde-sys-monitor-plugin/archive/master.zip 可以使用wget下载也可以使用浏览器自带下载功能 解压 进入文件夹,主页告诉我们需要安装多个依赖 sudo apt-get install dde-dock-dev sudo apt-get install qtbase5-dev-tools sudo apt-get install libdtkwidget-dev 安装完成后进入文件夹输入 ./build.sh 然后在文件夹build中找到libsys_monitor.so文件 复制到/usr/liib/dde-dock/plugins/下 sudo cp libsys_monitor.so /usr/lib/dde-dock/plugins/ 输入 pkill dde

Does DDE still matter? Which are the alternatives?

ⅰ亾dé卋堺 提交于 2019-12-03 07:22:10
I'm working on a stock exchange information platform and we are thinking in provide a link between our platform and home-made Excel files. The financial market is still bound to the old DDE server approach, now does it still matter today? Which are the alternatives to make automatic online data updates on Excel files, OLE DB queries? I wonder if anyone has any example of implementing an OLE DB provider in C# and .NET. Our API will be completely online and RESTful, there is any Web Services alternative to link this data to Excel? I remember Excel 2003 having a Web Services Toolkit but I can't

Dynamic Data Exchange (DDE) - Still Relevant?

和自甴很熟 提交于 2019-12-01 17:54:31
问题 Is there any reason to use Dynamic Data Exchange (DDE) in a modern Windows application? If not, what alternative technology would you use instead? 回答1: Modern code uses COM for this. There is a tall stack of defined COM interfaces that you implement to receive the sort of stuff that DDE can deliver. 来源: https://stackoverflow.com/questions/2442586/dynamic-data-exchange-dde-still-relevant

Matlab and JDDE

試著忘記壹切 提交于 2019-12-01 12:23:30
问题 Update: The problem was solved with the help of MathWorks. I've published the answer below. I need to control a program (Zemax) from Matlab. Unfortunately, Zemax only supports DDE for such control, which Matlab does not support any more. It works, but stops working on 64 bit platform after a few (presumable 63) DDE calls. I wonder if there are working solutions. I could probably program a DLL with correct DDE support and then use DDE in Matlab via this DLL. This is a major effort for me. A

What are windows IPC methods

房东的猫 提交于 2019-12-01 06:41:23
Question: I have a dll that I can load in another program. Now the dll has access to all data/functions in the other program. Which technology can I use that now an external program can send data/commands to that dll, to steer the other program, or get data from it ? I mean, in the past that meant DDE, I think that was back in Windows 3.11/95 times. What can I use today? Which one is easiest ? Which one is fastest? Some common ones are: Named Pipes . Fairly easy to implement. Shared Memory . A little more work but may be a little bit faster (at least in my testing). Sockets . This is fairly

How to open a specific bloomberg terminal page programmatically?

我怕爱的太早我们不能终老 提交于 2019-11-28 19:46:34
Is there a reliable way to open a specific bloomberg terminal page programmatically (e.g. "MSFT Equity")? I am open to any suggestions and code samples: Start process with path to bloomberg terminal executable and ticker in the arguments Bloomberg API DDE COM Automation SendKeys (can be blocked by some antivirus software) ... Many thanks You can get the answer to this through the terminal: API < GO > > API Developer's Website > WAPI Home > FAQs > Miscellaneous Topics And the specific question is How can I communicate programmatically with the Bloomberg Professional? The string you need to send

Calling a MATLAB function from C#

∥☆過路亽.° 提交于 2019-11-27 19:31:29
I developed a MATLAB function, and I'm looking for a way to call that function from another C# application and pass some parameters to it and get the results in the C# program. I heard that I can use Dynamic Data Exchange (DDE) or COM objects, but have can I do it? Lukas Kabrt There is nice example in the MATLAB Central . It shows three ways on how to communicate with MATLAB : COM MATLAB .NET Bulider MATLAB compiler COM (I do not have any experience with it) Cons: MATLAB is required to be installed on the target computer. MATLAB .NET builder compiles your MATLAB code to the .NET assembly and