Thema: Delphi Sandbox programmieren

Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

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

Re: Sandbox programmieren

  Alt 17. Feb 2006, 20:46
Das ist keine Sandbox. Eine Sandbox ist eine komplett abgeschottete Umgebung in der der Prozess keinen Scahdenanrichten kann. Eine VM wäre so was.

Such dir das Hauptfenster mit FindWindow und setze das Parenthandle neu mit Setparent auf das Panel deiner anwendung. Shellexecute liefert kein Handle zurück:
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.
Ich dachte, das hätte sich langsam mal rumgesprochen, Win3.11 Zeiten sind doch schon etwas länger vorbei.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat