Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi MessageBox mit timeout in einer Windows Notify DLL (https://www.delphipraxis.net/150295-messagebox-mit-timeout-einer-windows-notify-dll.html)

himitsu 13. Apr 2010 10:23

Re: MessageBox mit timeout in einer Windows Notify DLL
 
Zitat:

Zitat von Otto84
Wenn ich die DLLs lokal bei mir unter Windows 7 starte mit: "rundll32 Project2.dll,ServerWallLogon" oder "rundll32 Project1.dll,ServerWallLogon" dann bekomme ich die Info Meldung "Test1" oder "Test2" und dann die Windows Meldung "Windows-Hostprozess (Rundll32) funktioniert nicht mehr".

Dieses könnte daran liegen, daß deine Funktion einen Parameter erwartet und "rundll32 Project1.dll,ServerWallLogon" die Funktion parameterlos aufruft.
Das zerstört eventuell den Stack.

Otto84 13. Apr 2010 10:26

Re: MessageBox mit timeout in einer Windows Notify DLL
 
Zitat:

Zitat von himitsu
Zitat:

Zitat von Otto84
Wenn ich die DLLs lokal bei mir unter Windows 7 starte mit: "rundll32 Project2.dll,ServerWallLogon" oder "rundll32 Project1.dll,ServerWallLogon" dann bekomme ich die Info Meldung "Test1" oder "Test2" und dann die Windows Meldung "Windows-Hostprozess (Rundll32) funktioniert nicht mehr".

Dieses könnte daran liegen, daß deine Funktion einen Parameter erwartet und "rundll32 Project1.dll,ServerWallLogon" die Funktion parameterlos aufruft.
Das zerstört eventuell den Stack.

Wenn ich aber die Methoden weglasse und nur meine Infobox mit "Test1" oder "Test2" compiliere und einbinde dann läuft die DLL ohne Probleme und ich bekomme die MSG BOX !


Gruß,

Otto


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:38 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz