Autor Beitrag
Jean-Christoph
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54



BeitragVerfasst: So 03.10.04 23:42 
Mein Programm, entwickelt mit Delhphi 5 Enterprise, ist bis vorgestern super gelaufen.
Seit gestern kann ich machen was ich will, es kommt noch nicht mal an die Intitialisierung, geschweige denn an das erste FormCreate, sondern wird sofort wieder beendet. Wenn ich die Exe aus dem Netzwerk von einem anderen Rechner starte, oder lokal auf einem anderen Rechner starte, ist alles ok. Ich habe alles mögliche gelöscht, neu compiliert und die Exe wieder erzeugt. Kein Erfolg.
Was jemand Rat?


Moderiert von user profile iconChristian S.: Topic aus Off Topic verschoben am Mo 04.10.2004 um 09:30
Jean-Christoph Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54



BeitragVerfasst: So 03.10.04 23:45 
Noch einen Hinweis. Ich nutze mehrere Libs von 3rd Party Herstellern, aber die nutze ich auch bei anderen Progs, mit denen ich dieses Problem nicht habe und auch noch nicht hatte.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 04.10.04 00:54 
Probier mal deinen lieben Freund F7 aus ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6386
Erhaltene Danke: 146

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 04.10.04 08:18 
Was hat sich in deinem System denn geändert? (Update, neues Programm, Konfiguration, Virus, ...)
Von nix kommt nix.
Jean-Christoph Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54



BeitragVerfasst: Mo 04.10.04 08:43 
Also erst mal komme ich gar nicht an die Möglichkeit mit F7 zu checken wo es nicht mehr weiter geht.

Am System hat sich gar nichts verändert, also weder ein neu installiertes Programm, noch ein entferntes Programm.

Da die Anwendung mit TWEbbroser arbeitet und Internetseiten aufruft, habe ich erstmal Virenscanner (McAfee) über das System laufen lassen und bin jetzt dabei, nach Spyware zu suchen.
Viren habe ich offensichtlich keine und bis jetzt gelöschte Spyware-Einträge in der Registry brachten noch keinen Erfolg. Wenn ich mit Filemon (Sysinternals.com) überprüfe, wo das Programm schließt, tut er das nachdem es erfolglos die wfapi.dll sucht. Diese dll
kommt z.B. vom Cytrix Terminal Server (google-suchen nach wfapi) und ist als Header Datei offensichtlich im Advantage Database Server enthalten. Andererseits habe ich darüber den Verdacht, dass ein Trojaner oder ähnliches diese Probleme macht.
Ich habe andere Software geschrieben habe, die auch über Indy und nmhttp auf das Internet zugreift und wsock nutzt. Mit dieser Software habe ich keine Probleme.
Nur dieses Programm wie gesagt wird aufgerufen und sofort wieder beendet, ohne die Möglichkeit Breakpoints zu erreichen an denen ich checken kann wo der Haken ist.
Noch mal zur Info: Wenn ich das Programm über das Netzwerk aufrufe, startet es normal. Nur auf der localen Maschine nicht mehr. Kunden haben nur teilweise das gleiche Problem und nutzen die verschiedensten Betriebssysteme.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6386
Erhaltene Danke: 146

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 04.10.04 09:13 
Ist natürlich schwierig zu analysieren, ohne vor dem System zu sitzen ...
Eine Idee habe ich da noch.
Bindest du DLLs oder andere Bibliotheken ein, die im Arbeitsverzeichnis des Programms gesucht werden? Wenn diese auf dem Server korrekt vorhanden sind, startet es logischerweise vom Netzwerk auf allen Plätzen. Falls die am lokalen Platz fehlen oder defekt sind, dann könnte dein beschriebener Effekt auftreten.
Ist natürlich ein bisschen ins blaue geraten. Es kann auch irgendetwas anderes sein, was dem Programm beim Start fehlt.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 04.10.04 09:45 
Fehlende DLLs würde ich vernachlässigen, da diese (statisch eingebunden) einen Fehler liefern würden. Guck aber trotzdem evtl. mal, ob die von dir benutzten Bibliotheken die wfapi.dll dynamisch einbindet.

@F7: Geht auch zum Starten des Programms. Der Debugger startet dann im Projekt-Quelltext. Unter der Bedingung, dass du von deinen Libs den Src korrekt eingebunden hast, kannst du damit wunderbar arbeiten.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Jean-Christoph Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54



BeitragVerfasst: Mo 04.10.04 13:28 
Ich habe das Problem gefunden. Es ist die HTConnector.pas aus den ProHelp Komponenten gewesen. Die nutze ich für die Kontext-Hilfe.
Ich denke, dass die Datei Funktionsaufrufe auf WSsock oder WSapi enthält, die mit den aktuellen Updates die Microsoft seit Dienstag voriger Woche ausliefert nicht mehr funktioniert. Ich kann nicht beurteilen, was genau das Problem ist, aber das Prog läuft wieder seit dem ich die Datei entfernt habe.

Vielen Dank für Eure Hilfe!
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6386
Erhaltene Danke: 146

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 04.10.04 13:36 
Also hat sich das System doch geändert :wink:
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Mo 04.10.04 13:53 
Was??? Wie??? Wo???
Mit Service Pack 2 geht kein Client und Server Socket mehr???
Diese Schweine!!!
:evil: :evil: :evil:
Jean-Christoph Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54



BeitragVerfasst: Mo 04.10.04 13:59 
Das stimmt, aber das Problem ist, dass dies keine bewussten Änderungen waren, sondern automatische Updates. Wie auch immer, ich bin jedenfalls froh, dass ich das Problem gefunden habe und die Software wieder läuft.
600 meckernde Kunden versüssen einem nicht unbedingt das Wochenende!?
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6386
Erhaltene Danke: 146

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 04.10.04 14:08 
War auch nicht böse gemeint.
Was lernen wir daraus? Lasse nie etwas automatisch machen, was du nicht selbst unter Kontrolle hast. Das ist natürlich kein Trost für dein versautes WE.
Das nächste wird besser.