Re: [fpc-pascal] Rtf to HTML

2008-05-12 Thread Leonardo M. Ram�
I know rtf2html, the problem is it works with file (infile outfile). And I need one that works with strings as params. Also it must work on windows. --- Damien Gerard <[EMAIL PROTECTED]> wrote: > > Le May 12, 2008 à 8:34 PM, Leonardo M. Ramé a écrit : > > > Hi, does anyone knows a good Rtf

Re: [fpc-pascal] Rtf to HTML

2008-05-12 Thread Damien Gerard
Le May 12, 2008 à 8:34 PM, Leonardo M. Ramé a écrit : Hi, does anyone knows a good Rtf To HTML converter for FPC/Delphi? I need one that accept strings/streams, not files. Under OS X (via MacPorts): sudo port install rtf2html Under Linux (Gentoo): emerge -av app-text/rtf2html I suppose

[fpc-pascal] Rtf to HTML

2008-05-12 Thread Leonardo M. Ram�
Hi, does anyone knows a good Rtf To HTML converter for FPC/Delphi? I need one that accept strings/streams, not files. Leonardo M. Ramé http://leonardorame.blogspot.com Be a better friend, newshound, an

Re: [fpc-pascal] Playing with SpVoice (ole object)

2008-05-12 Thread Joao Morais
[EMAIL PROTECTED] wrote: Joao Morais wrote: s := 'hello world'; vsound.speak(s); speaks using a literal but says randomic words (sometimes says nothing) using a variable. Is there something that I am missing? You should use a variable of type WideString: VAR S: WideString; And all

Re: [fpc-pascal] Playing with SpVoice (ole object)

2008-05-12 Thread Joao Morais
Marco van de Voort wrote: {$mode objfpc}{$H+} uses comobj; var vsound: olevariant; s: string; begin vsound := createoleobject('SAPI.SpVoice'); writeln('playing using literal'); vsound.speak('hello world'); writeln('ok (press enter)'); readln; writeln('now playing using

Re: [fpc-pascal] Playing with SpVoice (ole object)

2008-05-12 Thread Marco van de Voort
> > {$mode objfpc}{$H+} > uses >comobj; > var >vsound: olevariant; >s: string; > begin >vsound := createoleobject('SAPI.SpVoice'); >writeln('playing using literal'); >vsound.speak('hello world'); >writeln('ok (press enter)'); >readln; >writeln('now playing using

Re: [fpc-pascal] FPC Bombs

2008-05-12 Thread Tomas Hajny
On Mon, May 12, 2008 06:13, John Youngquist wrote: > Jonas Maebe wrote: >> On 10 May 2008, at 22:30, John Youngquist wrote: >>> Jonas Maebe wrote: On 10 May 2008, at 21:34, John Youngquist wrote: > I am a regular user of FPC and find it is a great system. I ported > a 10k line app

Re: [fpc-pascal] Playing with SpVoice (ole object)

2008-05-12 Thread [EMAIL PROTECTED]
Joao Morais wrote: s := 'hello world'; vsound.speak(s); speaks using a literal but says randomic words (sometimes says nothing) using a variable. Is there something that I am missing? You should use a variable of type WideString: VAR S: WideString; And all will be good