TomBlue999
New Member
Hi folks!
I have a tricky problem with socket communication and classes. It is a fact that it is not possible to use input blocking statements (PROPMT-FOR, SET, UPDATE, WAIT-FOR, READKEY and PROCESS EVENTS) within user-defined functions. That means it is also not possible to use this statement within methods of classes. (Explanation: When using this statements progress error 2780 is raised at runtime)
I have major part of business logic within classes and some of them have to call procedures using TCP socket communication for SMTP mail and communication with 3rd party servers. This is not possible because of mentioned progress restriction.
Does anyone have an idea or workaround how to use socket communication within classes?
Thanks a lot,
Thomas
I have a tricky problem with socket communication and classes. It is a fact that it is not possible to use input blocking statements (PROPMT-FOR, SET, UPDATE, WAIT-FOR, READKEY and PROCESS EVENTS) within user-defined functions. That means it is also not possible to use this statement within methods of classes. (Explanation: When using this statements progress error 2780 is raised at runtime)
I have major part of business logic within classes and some of them have to call procedures using TCP socket communication for SMTP mail and communication with 3rd party servers. This is not possible because of mentioned progress restriction.
Does anyone have an idea or workaround how to use socket communication within classes?
Thanks a lot,
Thomas