Autor Beitrag
Larus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: So 20.02.05 18:32 
Ich will nun auch im zusammenhang mit www.delphi-forum.de/viewtopic.php?p=220060 die Möglichkeit schaffen, dass ich mit der Rechten Taste auf eine Datei klicke und im Kontextmenü dann ein Extra Punkt is der Lautet: "Anw. sperren" Sobald dieser Punkt angeklickt wird soll der Dateiname und Pfad an mein Program übergeben werden. Wie kann man das machen?
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: So 20.02.05 23:48 
Im meinem Delphi 5 Pro Demoverzeichnis (\Demos\Activex\Shellext) befindet sich zwei Beispiele.

_________________
Ciao, Sprint.
Larus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: Mo 21.02.05 17:29 
Und Wie wende ich das an? bei mir gibt der beim Compilieren solcher dateien nur dll's und dcu's aus
HTS|DV-Tech::p4pp4
Hält's aus hier
Beiträge: 1

Win XP SP2
Delphi 4
BeitragVerfasst: Fr 25.02.05 18:59 
Ja das problem hab ich auch.
ka wie man das einbinden soll.

kann man damit auch die dateinamen mehrerer(!) Dateien die man makiert hat übergeben?
und wie geht das?

thx&gruß
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Fr 25.02.05 20:17 
In den Demos stehen alle Informationen.

_________________
Ciao, Sprint.
Larus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: Sa 26.02.05 19:18 
:( Bin ich blöd? :lol: Nein bei mir steht nichts....
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Sa 26.02.05 19:24 
Larus hat folgendes geschrieben:
Nein bei mir steht nichts....

Ausgabe als DLL ist ja auch richtig. Weil die DLL vom Windows Explorer geladen wird. Wie die DLL in die Registry eingebunden wird, ist auch in den Beispielen zu lesen.

_________________
Ciao, Sprint.
Larus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: Sa 26.02.05 19:27 
Nein :!: :?: :!: :?: :?
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Sa 26.02.05 20:30 
Larus hat folgendes geschrieben:
Nein

Willst du mir damit sagen, dass du das Beispiel nicht verstehst? Hab gerade nochmal unter Delphi 7 Personal nachgeguckt. Ist mit dem Delphi 5 Pro Demo identisch.

_________________
Ciao, Sprint.
Larus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: So 27.02.05 17:50 
Wenn du das meinst...
qregister.dpr
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
// This COM server is an example of how to accomplish COM functionality
// without using any object oriented Pascal constructs.  Object Pascal
// classes are not used and so neither are Object Pascal Interfaces.  All
// interface pointers are true pointers.  This was done as a study in
// contrasts.  Compare this code to that found in the ContMenu project.

// Note: Although this project uses units wherein Object Pascal classes and
// interfaces are defined, none of those classes or interfaces are used in
// the code.

Oder copyhook.dpr
ausblenden Quelltext
1:
2:
// This CopyHook shell extension will alert you every time an attempt
// is made to delete, move or rename a directory in the Explorer.

oder contmenu.dpr
ausblenden Quelltext
1:
2:
3:
// This COM server defines a Context Menu shell extension.  This allows the user
// to right click on Delphi Project files (.DPR) from the Explorer and compile
// them using the DCC32.exe command line compiler.


Das sagt mir nicht viel und ne erklärende Textdatei gibs auch net
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Mo 28.02.05 00:50 
Dann schau dir doch mal den Bereich an, wo was in die Registry geschrieben wird.

_________________
Ciao, Sprint.
Larus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: Mo 28.02.05 15:50 
Wo? in welchen dateien.. Kannse mir das evtl. mal ausführlich erklären?