chrisoldwood / ddecmd Goto Github PK
View Code? Open in Web Editor NEWDDE command line query tool
License: MIT License
DDE command line query tool
License: MIT License
DDE Command v1.6 ================ Introduction ------------ This is a command line (aka console) based tool for querying text data from DDE servers. It provides support for both the synchronous and asynchronous DDE transaction types: XTYP_REQUEST, XTYP_POKE, XTYP_EXECUTE and XTYP_ADVDATA. It also allows for querying running servers with the XTYP_WILDCONNECT transaction type. This tool forms one part of my DDE toolkit, with the others being:- DDE Query: My original GUI based DDE query tool. DDE COM Client: A scriptable COM component for accessing DDE servers. Releases -------- Stable releases are formally packaged and made available from my Win32 tools page: http://www.chrisoldwood.com/win32.htm The latest code is available from my GitHub repo: https://github.com/chrisoldwood/DDECmd Documentation ------------- There is an HTML based manual (DDECmd.html) which can be launched using the --manual switch. Development ----------- See DevNotes.txt. Contact Details --------------- Email: [email protected] Web: http://www.chrisoldwood.com Chris Oldwood 13th January 2017
When using the advise
command to continuously listen for updates it does not notice when the server's end of the conversation is closed and consequently it continues listening forever.
e.g. Start one DDECmd
as a server:
> DDECmd.exe listen -s test -t test
Start a second one to set-up an advise loop on an item:
> DDECmd.exe advise -s test -t test -i anything
Then kill the server and the listener will remain running until you hit Ctrl+C.
The --format
switch was added to the execute
verb for the sake of completeness. The default format was also set as CF_TEXT
to be consistent with the other verbs.
However it was later discovered (http://chrisoldwood.blogspot.co.uk/2013/11/dde-xtypexecute-command-corruption.html) that when sending a CF_TEXT
command string from a Unicode client to an ANSI server results in the command string being corrupted.
Due to the poor choice of a default (CF_TEXT
) this bug will be likely to occur as DDECmd is always build for Unicode but various tools, such TCL, are built for ANSI. Given that the uFormat
argument has no effect for an XTYP_EXECUTE
request the switch should just be removed.
When using the listen
verb it automatically sends an updated value for every advise loop at a fixed rate. The update rate could be configurable so that it's possible to flood the client with DDE updates.
The listen
command only allows the server and topic name to be configured, any request
or advise
on an item replies with a hard-coded value. It would be useful to allow the value and format to be configured too.
One choice might be a simple value, repeated for every request, whilst using a simple number generator with a delay might be more useful for testing advises.
Current version can support only one topic,
Would it be possible to add support for multiple topics ?
ERROR: The command line switch '-t' can only be specified once
Hello Chris,
I hope you are well.
I came across your free MS Windows - DDE tools and was very impressed by the variety of the options they support.
I am not a developer, like you :) and reaching out for guidance or help, accounting your expertise.
Considering the integration DDE / RTD options for capturing data,
a) supported by the legacy desktop application and b) controlled by the vendor,
I am searching for the "DDE / RTD to Database (SQL Server)" bridge.
with added options,
-- input-config //per your manual example, listing all data requests in the file
--server REUTER --topic IDN_RWS --item "GBP=,BID ASK"
--output-config // listing file or the database destination parameters
Was hoping you might have such a tool (feature) planned or may recommend open source references.
Please forgive me for disturbing you,
I am not trying to take advantage of your time.
Kind Regards,
GK
To test data feeds, such as financial prices, it would be useful to create canned data feeds by recording data from a set of advise loops and then be able to play them back by becoming a mock server.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.