Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lambda functions with classic 32 bit Borland compiler ?
#9
Hi,

my solution is specific to my current application and therefore can not be generalized like this.
An already existing list of logged in users will be used, which will also have access to
the user session data module (TIWUserSession) of a logged in user.

The class TIWSessions certainly contains all the methods to work with all active sessions.
Unfortunately, the functions of this important class are not well documented.
Removing Lock / Unlock has contributed to the stability.
For functions with anonymous functions as function parameters (Execute, LookUp)
arise in my view the following problems:

- C ++ interface definitions for lambda functions are generated for the anonymous functions,
  which can not be processed by the current classic 32-bit C ++ compiler.
- Within the scope of the defined lambda functions, only the session object can be accessed.
  Access to global data, functions or objects of the application is not possible.
  Maybe an additional interface parameter for accessing global application data would be useful.

Regards
Juergen
Reply


Messages In This Thread
RE: lambda functions with classic 32 bit Borland compiler ? - by JuergenS - 08-26-2019, 07:07 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)