Dmitry Timoshkov <dmitry(a)baikal.ru> wrote:
"Francois Gouget" <fgouget(a)free.fr> wrote:
The problem is that write will handle RTF and Word documents correctly, while notepad is just a text editor and will only display garbage...
(yes, wordpad will probably have problems with complex word documents, but it should work with simple ones)
I believe that Write is able to handle only old Word 5.x/6.x format files (and of course RTFs). RTFs should not produce too much trouble (just feed them to a richedit control). Regarding Word 5.x format here is a snipped from my very old DOS code which handled those files (*.doc,*.wri) well (it completely ignores formatting though):
I've written a .wri to RTF converter, which is available here: http://www.msxnet.org/word2rtf/write.c It should be almost complete. The output is almost the same as the microsoft converter (including bugs, if desired). Now I have enough information to write write32.cnv, but is there any need for this? Sean