Forum: Cross-Platform-Entwicklung
by junglist,
23. Mai 2017
Hm, schade.
Aber danke für die Bestätigung!
Forum: Cross-Platform-Entwicklung
by junglist,
22. Mai 2017
function TDataModule.getWeatherCities:string;
var
WSInterface: GlobalWeatherSoap;
begin
WSInterface := GetGlobalWeatherSOAP;
result := WSInterface.GetCitiesByCountry('Switzerland');
WSInterface := nil;
end;
Forum: Cross-Platform-Entwicklung
by junglist,
16. Mai 2017
Habe ich schon gelesen und versucht. (Auch wenn nicht ganz genau aufgepasst, mit DisposeOf auf den login, logout und sess habe ich "nur" noch 400-500 Leaks statt 900 pro Login- und Logout Routine. Also danke schonmal :-D)
Forum: Cross-Platform-Entwicklung
by junglist,
16. Mai 2017
Genau, sess (sessionHeader) und WSInterface sind als Properties vom Datamodule definiert, damit von beiden Funktionen aus darauf zugegriffen werden kann.
Im Login wird sess initialisiert, und im Logout wieder freigegeben.