Home > Back-end >  How do you write this communication interface? Load the external DLLS
How do you write this communication interface? Load the external DLLS

Time:09-18


Interface document content

2.2.1 the technical architecture
Main body framework based on DLL + CICS message middleware technology architecture, provided by the DLL developer call interface and popup tooltip, handled by CICS upload information and return,
Mainly consists of three parts: exposed to developers of DLL interface, deployment and front machine communication middleware, the center of the health care center run end handler,

2.2.2 client communication module
Code is going to send the message content, and call the ybpost. DLL, the DLL is directly exposed to developers of interface, the asynchronous call technology, not affect the normal business operations, the hospital
Ybpost. DLL pass to send the message in the form of function parameters, the function name: YBTS (string), only one parameter, the content of messages sent, a type of string, no return messages,
Incoming parameters set for the XML format string, the string structure see XML structure
Besides ybpost. DLL, also need the original real-time settlement interface contained in other DLL file and the corresponding ini configuration file, read card operations such as

The client in the network. There is also a SendRcvA ini and SendRcvB ini
Content is:
SendRcvA. Ini
[Host]
TCPIP=192.168.0.110
CommPort=10061

[the System]
TimeOut=30000
CommSize=4096
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
SendRcvB. Ini
[Host]
TCPIP=192.168.0.110
CommPort=10062

[the System]
TimeOut=600000

Above client load SendRcvA. Ini pointing to front machine, and then lead the data to the health center

I want to use the Delphi 7 to write such interface program, how to write?

Healthcare front log on
Sending code for
nullnullnullnullnullnullnullnull
  • Related