| |
|
|
 Jörg Sellmeyer | Ciao, Ist das ein Bug oder ein Feature? Nach meinem Verständnis potrebbe der Inhalt der Listboxliste nicht von der Funktion verändert werden: KompilierenMarkierenSeparieren |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 04.11.2007 ▲ |
|
|
|
|
 Jörg Sellmeyer | |
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 04.11.2007 ▲ |
|
|
|
|
 Jörg Sellmeyer | Ok, das Zweite habe ich raus: KompilierenMarkierenSeparieren $H Windows.ph
$H shlwapi.ph
Def Desktop(0) ReadIni$(Hkey_1,SoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders,DeskTop)
Window 0,0 - 800,600
ChDir Desktop()
AddFiles **.lnk
Declare p$,DC&
p$ =
Print p$
While p$ >
Clear p$
p$ = Listbox$(,2)
print p$
DC& = ~GetDC(%hwnd)
~PathCompactPath(DC&,Addr(p$),200 + Rnd(200))
print SubStr$(p$,1,z)
~ReleaseDC(%hwnd,DC&)
Wend
Ich habe nicht daran gedacht, das Profanstrings ja auch Nullbytes mitlesen. Die Rückgabe in p$ ist durch ein Nullbyte abgegrenzt. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 04.11.2007 ▲ |
|
|
|
|
 RGH | Jörg Sellmeyer
Ciao, Ist das ein Bug oder ein Feature?
Weder noch, eher eine Eigenart. ;) Siehe hier: [...] 
Saluto Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 04.11.2007 ▲ |
|
|
|
|
 Jörg Sellmeyer | |
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 04.11.2007 ▲ |
|
|
|
|
 | Ich meine ich hatte einfach immer nur angehangen und es reichte. |
|
|
| |
|
|