Git Product home page Git Product logo

ddecmd's Introduction

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

ddecmd's People

Contributors

chrisoldwood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ddecmd's Issues

Advise command does not terminate when conversation closed

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.

Remove the --format switch for the execute verb

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.

Enhance listen command to respond with a user provided value and format

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.

provide support for multiple topics

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

DDE to SQL DB bridge

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.