trichview.support
TRichView in DLL |
Author |
Message |
Henry |
Posted: 03/04/2004 3:52:15 How do I create the control in a DLL? What I actually want to use is the conversion functions only, I don't need any visaul portion, all that is done in a different part of my program. Is there any example of creating a TRichView dynamically. I have tried RichView:=TCustomRichView.Create(nil); // <-- we are in a dll try try RichView.SaveOptions := [rvsoOverrideImages]; RichView.LoadRTF(rtfFile); RichView.SaveHTML(htmlFile, 'Title', 'Img', saveoptions ) ; result:=true; except result:=false; end; finally RichView.free; end; end; But it fails on LoadRTF, says index is out of range Thanks in advance Henry |
Powered by ABC Amber Outlook Express Converter