OnVersionSelect not used?
Posted: Sun 14 Apr 2013 03:58
On Delphi 5, I double-clicked the OnVersionSelect event in the Object Inspector to create the event handler, and added code. The routine is never called, no matter what I set Version to.
Displaying the Version and ServerVersion after the negotiation confirms that my server supports V3 (which I know to be true); if I set Version to anything greater than 3, ServerVersion ends up as 3, and if I set version to anything less than 3, ServerVersion happily lowers to match. OnVersionSelect is never called, though.
Displaying the Version and ServerVersion after the negotiation confirms that my server supports V3 (which I know to be true); if I set Version to anything greater than 3, ServerVersion ends up as 3, and if I set version to anything less than 3, ServerVersion happily lowers to match. OnVersionSelect is never called, though.