Autor Beitrag
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Sa 17.06.06 15:45 
Hi,

weiß einer von euch, wie der Typ TFileStream für WideString(UniCode) heißen muss? Ich bin bei MSDN leider nicht fündig geworden, denn da beschreiben die nur die Standardvariante. Und ich will auch nicht die langsame Variante nehmen.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 17.06.06 19:44 
Im MSDN beschrieben sie generell immer nur eine Variante *g* Zwischen der ANSI- und der Unicode-Version wird nur im Source anhand eines A für ANSI und W (Widechar) für Unicode unterschieden.

Daher auch in Delphi die 3 Funktionen Function CreateFileA;, Function CreateFileW; und Function CreateFile;.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Heiko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Sa 17.06.06 19:56 
Das weiß ich auch (also mit'm A und W), da ich schließlich SearchTool auch schon auf UniCode umgestellt habe ;). Mir gehts hier eigentlich nur daraum, ob es eine fertige Variante von FileStream für UniCode gibt, oder nicht ;).
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 17.06.06 20:15 
Falls Du SysUtils.TFileStream der VCL meinst: Nein, so nen Luxus kennt die VCL nicht ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Bernhard Geyer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 721
Erhaltene Danke: 3



BeitragVerfasst: So 18.06.06 20:57 
Heiko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Mi 26.07.06 11:42 
Ich habs jetzt selber geschrieben, da ich ein paar unperformnante Proceduren bei Delphis FileStream gefunden hatte ;): UniCodeFileStream (TFileStreamW)