Re: interacting with an ACUCOBOL application

From: JJ (jj_at_nospam.com)
Date: 06/30/04


Date: Tue, 29 Jun 2004 22:00:48 -0400

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.

"Mark_R" <mrissmann@yahoo.com> wrote in message
news:7a1f4dab.0406291440.170f3425@posting.google.com...
> Good day,
>
> I am writing an application in Delphi. I want it to interact with
> another application. The ACUCOBOL application is successfully calling
> a DLL passing my application a string and a number. I want to be able
> to send him the same. Can ACUCOBOL "listen" for DLL messages? Anybody
> have any code on that. The ACUCOBOL team that I am working with is
> relatively new to windows programming.
>
> Thanks for any info.
>
> -Markus



Relevant Pages

  • Re: Threading problem with Garbage Collector
    ... It itself controls calls to a DLL ... "A"), it loads the DLL, which in turn then creates a window (it needs to, ... Disposemethod it uses the label window to synchronize the FreeLibrary ... delegate void DelegateKillDLL(); ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Simulating Control-Alt-Delete?
    ... Winlogon.exe window or not. ... all desktops and all top level windows. ... the WinLogon window didn't show. ... > Write this part of your test suite as a DLL, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: window from win32 dll
    ... handle of the DLL, according to the documentation. ... instance of the window to share the one-and-only DC that is a class DC? ... For example, you are presuming RegisterClassEx ... .HINSTANCE storing in dllmain HMODULE ...
    (microsoft.public.vc.mfc)
  • Re: Difference between WM_APP and WM_USER
    ... broadcasting or even 'broadcasting' such a message is outrageously ... DLL that uses WM_APP+7 as a message to a designated window. ... dll to use this message range. ...
    (microsoft.public.vc.mfc)
  • Re: How to program plugin DLLs
    ... This is an MDI application. ... As other functionality of the tree nodes, ... user to open a MDI window that monitors the corresponding device. ... I know that I can place the menu resource in the DLL and load it ...
    (microsoft.public.vc.mfc)