Announcement

Collapse
No announcement yet.

Controlling a DLL/EXE from another program

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mark Newman
    replied
    Thanks all!


    ------------------
    Mark Newman

    Leave a comment:


  • Michael Ritter
    replied
    a post that may interest you concerning
    memory sharing between two apps.





    ------------------

    Leave a comment:


  • Tom Hanlin
    replied
    Using custom messages is a traditional and effective approach. It has the advantage over using shared memory or disk files in that there are no issues about access conflicts (it's friendly to multi-tasking and multi-threading).

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Mark Newman
    started a topic Controlling a DLL/EXE from another program

    Controlling a DLL/EXE from another program

    Anyone have a good way to control an standalone EXE or a DLL from another
    program? This program, which performs low-level port I/O, would be launched
    from the parent app and keep running, responding to a few simple commands
    from the parent, such as "Start", "Stop", "Set Parameter X to 1" and of
    course "Terminate".

    I've considered defining some custom Windows messages, using a shared memory
    location, or even a simple disk file.

    Any ideas?

    Thanks!


    ------------------
    Mark Newman
Working...
X