Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Über HInstance zu Window Handel

  Alt 12. Okt 2005, 11:11
Man lese die Dokumentation richtig:
Zitat:
Returns a value greater than 32 if successful, or an error value that is less than or equal to 32 otherwise. The following table lists the error values. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Windows applications. It is not a true HINSTANCE, however. The only thing that can be done with the returned HINSTANCE is to cast it to an int and compare it with the value 32 or one of the error codes below.
Du wirst wohl das Fenster mit MSDN-Library durchsuchenFindWindow suchen müssen oder MSDN-Library durchsuchenCreateProcess benutzen, dort kannst du in der MSDN-Library durchsuchenSTARTUPINFO Struktur größe und Position des Hauptfensters des neuen Prozesses angeben.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat