Information générale
Catégorie:
Programmation Orientée Object
>We have an application that is taking care for the communication between our hardware en software( we are using an ascii-protocol).
>
>The hardware are controllers with there own RAM-memory.
>In VFP we have a table RAM.dbf with 3 fields 'adress','data','command'
>The 'adress' field that is telling us what controller this is an the adress of the RAM.
>the command can have 3 values 'T' ,'R' or empty.
>'T' the data in the field 'data' will be transmitted to the adress X.
>'R' '' '' downloaded
>
>The meaning of this thread is that I want to make this code reusable(OOP) and a COM object (then I can request a download over the WEB).
>
>The problem I have is that I use microsoft' Communication control and that I have to use a form.
>Or there other solutions for the serial communication (like dll's ...)
Hi There,
Could you perhaps create 2 application, one EXE running with a form and with you MSCOMM32.OCX and the second one would be a COM object for the internet requests. The 2 applications could exchange data with a temp file or even a dbf file.
Maybe this can help you
An other Belgian in SOuth Africa
Xavier
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement