David Pratt
2008-07-07 15:45:11 UTC
I am using CPPBuilder5; am trying to develop a service that allows my
client program to connect to it. Just for testing purposes (for now,
anyway), I want the service to display a form (Dialog) that states whether
the socket is listening or connected. But during my readings, I have come
across a warning to not include forms.hpp in a service application, as
there is a conflicting declaration for the application variable. My question
is:
1.How can I display VCL based forms in a service application?
a. Can I modify the Forms.hpp file (Renaming it or copying it to
the project directory, of course) to exclude the TApplication *Application
variable and just include it instead?
client program to connect to it. Just for testing purposes (for now,
anyway), I want the service to display a form (Dialog) that states whether
the socket is listening or connected. But during my readings, I have come
across a warning to not include forms.hpp in a service application, as
there is a conflicting declaration for the application variable. My question
is:
1.How can I display VCL based forms in a service application?
a. Can I modify the Forms.hpp file (Renaming it or copying it to
the project directory, of course) to exclude the TApplication *Application
variable and just include it instead?