Can you make a serial port hooking program?
-
Hi... We need some program. We are using a POS equipment. some program must be printed by POS. before printing we need a hooking a text message from com port. 1. When the program start. we must find a com port which com port is conneced with POS equipment. 2. Whenever the com port is used for printing. the text message must be returened to some way. - the way can be suggested to you. This text message will be used by another program.
-
Hi... We need some program. We are using a POS equipment. some program must be printed by POS. before printing we need a hooking a text message from com port. 1. When the program start. we must find a com port which com port is conneced with POS equipment. 2. Whenever the com port is used for printing. the text message must be returened to some way. - the way can be suggested to you. This text message will be used by another program.
Take a look at Serial port programming using Win32 API (Windows) - Aticleworld[^] and Serial port I/O[^] for suggestions.
-
Hi... We need some program. We are using a POS equipment. some program must be printed by POS. before printing we need a hooking a text message from com port. 1. When the program start. we must find a com port which com port is conneced with POS equipment. 2. Whenever the com port is used for printing. the text message must be returened to some way. - the way can be suggested to you. This text message will be used by another program.
-
Hi... We need some program. We are using a POS equipment. some program must be printed by POS. before printing we need a hooking a text message from com port. 1. When the program start. we must find a com port which com port is conneced with POS equipment. 2. Whenever the com port is used for printing. the text message must be returened to some way. - the way can be suggested to you. This text message will be used by another program.
You are describing a case where you have an existing application flow: Serial port to POS. And you want to put monitoring place to see what that serial traffic looks like. So you don't want to replace or modify the existing code but rather just see what is happening. So you should google for the following
windows serial port intercept
That said however I would suggest that if the POS code is under your control that the POS code itself should be modified to provide the same sort of monitoring. Log files (search for libraries) can both be used to control and collect such data.
-
Hi... We need some program. We are using a POS equipment. some program must be printed by POS. before printing we need a hooking a text message from com port. 1. When the program start. we must find a com port which com port is conneced with POS equipment. 2. Whenever the com port is used for printing. the text message must be returened to some way. - the way can be suggested to you. This text message will be used by another program.