Autor Beitrag
Tomok
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35



BeitragVerfasst: So 20.04.03 17:40 
Kann mir irgendjemand die Adresse von einem guten Direct Play tutorial schicken, oder gibt es etwas besseres / schnelleres ?
(ich hab Indy und DelphiX, aber mit keinem von beiden Erfahrung)
KarlKoch
Hält's aus hier
Beiträge: 12



BeitragVerfasst: So 20.04.03 20:12 
Auf
www.zoksoftware.de/

findest du unter Type4 --> Projects die Unit GameNet. Das ist eine Unit, die die Grundlagen einer Server/Client Kommunikationen über DirectPlay bereithält. Ist zwar kein Tutorial, aber in Kombination mit der SDK Hilfe ist es wirklich leicht verständlich. DirectPlay ist generell nicht schwer zu verstehen.

karlkoch
Tomok Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35



BeitragVerfasst: Mo 21.04.03 09:22 
Ich hab mir die Unit mal angeguckt. Sie ist echt spitze nur nutzt sie eine Funktion namens "GUIDtoString" und die kann ich nirgendwo finden (Ich hab eine Borland Delphi5 Standart version). Weiß zufällig jemand in welcher Unit die ist, oder wie ich sie selber schreiben kann ?????????
Ingo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 19



BeitragVerfasst: Mo 21.04.03 09:40 
Hallo Tomok

Die Function befindet sich in der Unit SysUtils (Jedenfalls in Delphi7)

Gruß Ingo
Tomok Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35



BeitragVerfasst: Mo 21.04.03 09:44 
Bei mir leider nicht. Kann mir jemand den Quelltext schicken / eine DLL schreiben ?
Tomok Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35



BeitragVerfasst: Mo 21.04.03 09:45 
Ich hab mal folgendes als Ersatz für "GUIDtoString" geschrieben, ist die richtig ?
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
function GUIDtoString(guid : TGUID):String;
begin
  result :=
    '{'+inttohex(guid.d1,8)+'-'
    +inttohex(guid.d2,4)+'-'
    +inttohex(guid.d3,4)+'-'
    +inttohex(guid.d4[0],2)+inttohex(guid.d4[1],2)+'-'
    +inttohex(guid.d4[2],2)+inttohex(guid.d4[3],2)+inttohex(guid.d4[4],2)
    +inttohex(guid.d4[5],2)+inttohex(guid.d4[6],2)+inttohex(guid.d4[7],2)
    +'}';
end;
Tomok Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35



BeitragVerfasst: Mo 21.04.03 09:50 
Ich hab die Unit für Delphi 5 gefunden : ComObj
Danke, das ihr versucht habt mir zu helfen.