Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWServerController: OnBeforeNewSession/OnNewSession
#3
This is the method signature, in Delphi, of course. As you can see, it is an "out" parameter, thus it is passed by reference.

Code:
procedure TIWServerController.IWServerControllerBaseBeforeNewSession(const aUrlPath: string; aRequest: THttpRequest; out vCanCreate: Boolean);

If the compiler doesn't generate the appropriate code, that's something new - and unexpected - to me. Till this date, other than a minor glitches regarding C++ which required manual intervention, pretty much everything behaves exactly the same.
I didn't even look at the C++ code generated in this case, so I'm not saying that this is the case or not.... but to me it is kind of unbelievable that this kind of issue would stay unnoticed for so long....

Anyway, I'll have a look and get back to you on this
Reply


Messages In This Thread
RE: TIWServerController: OnBeforeNewSession/OnNewSession - by Alexandre Machado - 06-11-2020, 05:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)