Autor Beitrag
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19314
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 01.06.09 16:26 
Und die dafür notwendigen Dateien sind ja auch alle dabei... Ressourcenskript, die Batchdatei zum Kompilieren, der Cursor...
René R.Fo. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 116

Win7
Delphi5 Delphi2005
BeitragVerfasst: Mo 01.06.09 16:47 
^^Wo den in dem anderem steht nichts und hir auchnicht oder habe ich das übersehen?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19314
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 01.06.09 16:51 
Schau dir die mitgelieferten Dateien in der Demo einmal an, da ist die .rc Datei, die den Cursor einbindet, dir .bat, die die Ressource kompiliert und in dem Projekt wird die kompilierte .res dann eingebunden.

Sonst kannst du auch nach Delphi Ressourcen suchen oder so. ;-)
Die entsprechende Seite habe ich in dem anderen Thread auch verlinkt.
René R.Fo. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 116

Win7
Delphi5 Delphi2005
BeitragVerfasst: Mo 01.06.09 17:14 
Dake aber wo kommt der Name 'Test' her?
CursorHandle := LoadCursor(HInstance, 'Test');
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19314
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 01.06.09 17:16 
Hast du einmal in das Ressourcenskript (.rc) geschaut...
Und den Link angeschaut?
Zitat:
Create the resource file script.

Every line consist of a resource name, a resource type and the resource.

In the example below support is the resource name, HTML is the resource type and "support.html" is the resource.

support HTML "support.html"
René R.Fo. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 116

Win7
Delphi5 Delphi2005
BeitragVerfasst: Mo 01.06.09 17:24 
Nein nicht wirklich ich bin kein fän von Englich bitte erkläre es
So das anfänger(bis Fortgeschriten) es verstehen können.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19314
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 01.06.09 17:26 
Ohne Englisch kommt man als Programmierer nicht weit...
Das solltest du lieber zuerst lernen.

Wie gesagt: Das steht in dem Ressourcenskript, der .rc Datei, die eben sagt was in die Ressource kompiliert werden soll. Die ist bei der Demo doch dabei...
René R.Fo. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 116

Win7
Delphi5 Delphi2005
BeitragVerfasst: Mo 01.06.09 17:41 
Wenn ich des richtig verstehe

{$R CursorRes.res}

ist der ''Übersetzer'' Der res Datei

if CursorHandle <> 0 then
Screen.Cursors[crMyCursor] := CursorHandle;
Self.Cursor := crMyCursor;

ist zum umwandel der Maus

CursorHandle := LoadCursor(HInstance, 'Test');

Laden der Maus
aber Was Lädt er den mit Test Das verstehe ich nicht
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19314
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 01.06.09 17:47 
Wie oft denn noch? Das steht in der .rc Datei...
ausblenden Quelltext
1:
Test  CURSOR  Cursor1.cur					
Das sagt dem Ressourcencompiler, dass er in die Ressourcendatei (.res) die Datei Cursor1.cur unter dem Namen Test und als Typ CURSOR packen soll.

Oder hast du etwa die Dateierweiterungen (.exe, .rc, ...) bei dir ausgeblendet? :shock:
Dann schau dir diese Zusatzbemerkung an:
www.delphi-library.d....php?p=540052#540052
René R.Fo. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 116

Win7
Delphi5 Delphi2005
BeitragVerfasst: Mo 01.06.09 17:57 
Soryy ich hate immer die Project185 Datei geöffnet
ist jetzt inordnung