Re: interacting with an ACUCOBOL application
From: Paul Raulerson (paul_at_raulersons.com)
Date: 07/01/04
- Previous message: Robert Wagner: "Re: OO in Batch (Was: Program ID)"
- Maybe in reply to: E P Chandler: "Re: interacting with an ACUCOBOL application"
- Next in thread: JJ: "Re: interacting with an ACUCOBOL application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jun 2004 16:04:38 -0700
Well, I am not entirely clear what platform you are on, but have you
looked into the platform's IPC capabilities?
For example, under UNIX or (I think!) Windows, you should be able to
build message queues and have a thread sitting there waiting on input
to the queue.
This is basically now 'event' notification works under Windows and X.
There are several other possibilities- message queues, shared memory,
semaphores, mutexs and so on.
All of which, however, involve calling an operating system resource,
which may or may not be easily done from modern AcuCobol. I tend to
think
it may be done with little effort, but I won't guarantee that.
I can give you samples of how to do it under UNIX, but the samples are
in C. :)
-Paul
mrissmann@yahoo.com (Mark_R) wrote in message news:<7a1f4dab.0406300656.fd4c35d@posting.google.com>...
> Thanks for the suggestion but their current calls to my DLL are
> unrelated to what I want to do here. When ever an certain event occurs
> in my application I need to notify their application of the event and
> pass some information over.
>
> I am not set on a using a DLL. Are there any other options? ActiveX?
>
> Thanks,
>
> -Markus
>
>
> "JJ" <jj@nospam.com> wrote in message news:<R6qdnRNAQY1Tg3_dRVn-hg@comcast.com>...
> > By "DLL messages", you mean sending messages to the Acucobol window - you
> > could do that, but it's not the easiest or best way. (If I recall, Acucobol
> > provides hooks where you can subclass the main window so you can intercept
> > messages, but this requires writing some C code and relinking the runtime.)
> >
> > They can just pass you additional variables in their CALL of your DLL and
> > your DLL can just put the values you want to pass back using the pointers to
> > those variables. Or if they want, you can overwrite the values in the
> > variables they are passing to you. Have them take a look at the docs on the
> > CALL verb.
- Previous message: Robert Wagner: "Re: OO in Batch (Was: Program ID)"
- Maybe in reply to: E P Chandler: "Re: interacting with an ACUCOBOL application"
- Next in thread: JJ: "Re: interacting with an ACUCOBOL application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|