hProcess = RunProgram("plugin.exe","Das Schweigen der Lämmer","",#PB_Program_Open|#PB_Program_Read|#PB_Program_Hide)
If hProcess
Debug "No something should appear..."
Repeat
Debug ReadProgramString(hProcess)
Until ProgramRunning(hProcess) = #False
CloseProgram(hProcess)
EndIf
End
I get debugged:
No something should appear...
d
t
o
y
c
r
m
m
f
l
t
g
d
What am I doing wrong?
TIA...
scholly
Sorry 4 my poor English, it's the only one I learned 40 years ago...
since 17.12.08: XPHome(SP3) + PB 4.30
When only the first character arrives it's a classical unicode problem. It's because of the unicode storage format with 0 bytes as part of low characters. In ascii mode, this 0 byte means the string should terminate there and then.