![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 2 of 2 total |
![]() |
Sun, Oct 17 2010 2:10 AM | Permanent Link |
Tony Pomfrett | Hi, after compiling my apps and server with DBISAM V4.30 Build 1 my only Server Procedure no longer works. It fails on the client at the source line marked **** below:
function GetIPAddress(ASession: TDBISAMSession): string; begin with ASession.RemoteParams do CreateParam(ftInteger, 'CurrentRemoteID').AsInteger := ASession.CurrentRemoteID; with ASession do try CallRemoteProcedure('GetClientIPAddress'); Result := RemoteParams.ParamByName('IPAddress').AsString; **** except on E: Exception do Result := '$$INVALID$$'; end; end; If I revert to the previous server executable (V4.29B3) everything works OK. The problem (symptom anyway) appears in function TDBISAMParams.FindParam (dbisamtb) where Count has an initial value of 0 instead of 1 therefore the code is never executed. I can see that there were a lot of changes in dbisamtb for V4.30 - could the changes be responsible? Server is compiled with D2007 and client apps with D5 Thanks, Tony. |
Sun, Oct 17 2010 3:38 AM | Permanent Link |
Tony Pomfrett | Problem solved.
Somehow the OnServerProcedure event in the server app was no longer connected to its event handler after upgrading to V4.30. I connected the event to the event handler and all is well. I discovered this with Gurock SmartInspect which I have owned for some time but never used - I guess it just paid for itself ![]() |
This web page was last updated on Wednesday, July 2, 2025 at 06:46 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |