Página 1 de 1

TRichEdit

Publicado: Mar Sep 28, 2010 2:44 pm
por Timm
Hi!
How can I display a RTF file that is located on a CD-ROM (read-only) with
class TRichEdit?
::oRichEdit1:LoadRTF( "File.rtf" ) shows an empty control when I start my
exe from CD-ROM.
It works when it is started from hard drive.
Best regards, Timm.

TRichEdit

Publicado: Mar Sep 28, 2010 3:28 pm
por ignacio
Timm,
As you surely know, is a Windows standard API control and we can do nothing to change its behavior. Maybe if you put the control in read-only mode it will work. You should give it a try. BTW if that fails, try to copy the file to a temporary file and open it afterwards,
Regards,