Re: Multiple DLL, multiple THREADS, multiple applications or something else?

From: Kresimir Majdenic (kresimir.majdenic_at_os.hinet.hr)
Date: 12/02/03


Date: Tue, 2 Dec 2003 12:14:13 +0100

Thank you very much

... I guess I will go for DLLs ... currently I am trying to figure out how
to utilize TComPort without having multiple Forms visible on Desktop and
also how to solve a problem with:

1. Once DLL is loaded and serial port opened and DLL left in its own thread
to wait for Rx event on designated serial port ... how to deliver data to
main application once the Data arrives on serial port?

2. How to deliver data to DLL (data required from database in order to
respond to query from devices on serial port) on a notify base ... which
means ... store data into DLL local record, notify DLL and return back to
main thread - leaving DLL to deal with that data in its own thread?

Any suggestion on that?

Best regards, Kresimir



Relevant Pages

  • Re: Multiple DLL, multiple THREADS, multiple applications or something else?
    ... Once DLL is loaded and serial port opened and DLL left in its own ... especially if you re-use the buffers by ... > respond to query from devices on serial port) on a notify base ... ...
    (borland.public.delphi.language.objectpascal)
  • Re: Events do not fire when used in COM DLL
    ... This may be a problem in a COM dll but I don't know if it ... this creates the serial port component ... Enter a wait loop (tried Application.Processmessages and also ... The first button event loads the DLL and brings up a dialogue form. ...
    (borland.public.delphi.language.objectpascal)
  • Re: VB6 DLL
    ... serial port and how it decrypts the data. ... I want to make a DLL that I can ... Public WithEvents MSComm1 As MSComm ... I would like to make a DLL in VB6 that interfaces with a VB6 EXE. ...
    (microsoft.public.vb.general.discussion)
  • Re: sending user defined msg to MFC dll - using serial writer/read
    ... create modeless dialog ... You seem to keep thinking that the DLL is running in a different thread. ... They are separate threads because they represent asynchronous I/O ... you can't use non-overlapped I/O on a bidirectional serial port; ...
    (microsoft.public.vc.mfc)
  • Re: VB6 DLL
    ... I would like to make a DLL in VB6 that interfaces with a VB6 EXE. ... GUI with the progress of the operation. ... I believe you need to that anyway to work with a serial port effectively. ...
    (microsoft.public.vb.general.discussion)