afnarqui / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

Show nothing when opening *.txt file in Notepad.exe #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a filesystem with dokan library
2. Create a file test.txt and write something("MyTest")
3. Open test.txt in Notepad.exe

What is the expected output? What do you see instead?
Only some empty characters(maybe ASCII value 020) in test.txt
I want to see "MyTest".

What version of the product are you using? On what operating system?
dokan - 0.4.2.1238 under Windows XP SP3

Please provide any additional information below.
Open the test.txt in UltraEdit or EditPlus, I can see the file 
content "MyTest". I test mirror.exe, Notepad can open a file normally and 
display the content. 

Original issue reported on code.google.com by sunp1...@gmail.com on 22 Apr 2009 at 2:47

GoogleCodeExporter commented 9 years ago
I thought I would chip in, since I run into something like this and found a 
solution.
I wasn't reporting the correct file size back to notepad on 
"GetFileInformation()". I
was returning 0. Once I returned something else notepad started reading.
Hope that helps,
Eduardo.

Original comment by segura.e...@gmail.com on 12 May 2009 at 1:54

GoogleCodeExporter commented 9 years ago
Issue 85 has been merged into this issue.

Original comment by asa...@gmail.com on 19 Oct 2009 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by asa...@gmail.com on 19 Oct 2009 at 3:12