Thema: Delphi Problem mit WndProc

Einzelnen Beitrag anzeigen

mischer

Registriert seit: 9. Jun 2004
10 Beiträge
 
Delphi 5 Professional
 
#2

Re: Problem mit WndProc

  Alt 9. Jun 2004, 10:21
Neuer Versuch:

ich hab die alten Codefragmente gelöscht und hab jetzt folgendes im Hauptprogramm stehen:

Code:
program Hilfe;

uses
  Forms, Windows, Messages, Dialogs,
  FASHilfeSystem in 'FASHilfeSystem.pas' {DorSylv},
  HilfsUnit in 'HilfsUnit.pas';

{$R *.RES}

function WndProc(hWnd: HWND; uMsg: UINT; wParam: wParam; lParam: LParam):
  lresult; stdcall;
begin
  showmessage('WindowProc');
end;

begin
  Application.Initialize;
  Application.Title := ' Hilfe';
  Application.CreateForm(TDorSylv, DorSylv);
  Application.Run;
end.
Aber: Keine Reaktion! Mein Hook sendet die Messages raus aber das Programm interessiert das nicht im Geringsten.

MfG mischer
  Mit Zitat antworten Zitat