Re: [Synalist] TMimeMess and Greek characters

2009-02-16 Thread David Perkins
OK, understood. Thank you. 2009/2/16 Lukas Gebauer : >> Thanks Lukas, but you kind of lost me there. >> >> I'm using BCB 2006 and the data is stored as regular ANSI into a >> StringList. Can I then use >> >> pMM->AddPartTextEx( pStringList, NULL, UTF_8, true, ME_8BIT ); > > Well, you must use co

Re: [Synalist] TMimeMess and Greek characters

2009-02-16 Thread Lukas Gebauer
> Thanks Lukas, but you kind of lost me there. > > I'm using BCB 2006 and the data is stored as regular ANSI into a > StringList. Can I then use > > pMM->AddPartTextEx( pStringList, NULL, UTF_8, true, ME_8BIT ); Well, you must use correct encoding... If you use: pMM->AddPartTextEx( pStringLis

Re: [Synalist] TMimeMess and Greek characters

2009-02-16 Thread David Perkins
Thanks Lukas, but you kind of lost me there. I'm using BCB 2006 and the data is stored as regular ANSI into a StringList. Can I then use pMM->AddPartTextEx( pStringList, NULL, UTF_8, true, ME_8BIT ); 2009/2/16 Lukas Gebauer : >> pMM->AddPartTextEx( pStringList, NULL, ISO_8859_1, true, ME_

Re: [Synalist] Releasing Serial Port Connections

2009-02-16 Thread Werner Hauptfleisch
Hi Paul, Brilliant - that solved the issue. So it seems the lock file was the issue then. Thank you for the help! On Mon, Feb 16, 2009 at 6:28 PM, Paul Breneman wrote: > Werner, > > > But the Application applying the above configuration does not work. What > I > > am doing wrong when configurin

Re: [Synalist] Releasing Serial Port Connections

2009-02-16 Thread Paul Breneman
Werner, > But the Application applying the above configuration does not work. What I > am doing wrong when configuring the port using Synaser vs that applied by > Minicom? Maybe try this *before* the Connect statement? SerialObj..LinuxLock := false; The 3 files on this page use SynaSer and wo

Re: [Synalist] Releasing Serial Port Connections

2009-02-16 Thread Werner Hauptfleisch
Hi Lukas, Marrku, Thank you for the information. I understand this could be the affect but currently do not know what I am doing wrong. In minicom I have the serial port configured as: Port: /dev/ttyS1 Baud: 57600 Data Bits: 8 Parity: None Stop Bits: 1 Hardware flow Control: none Software flow co

Re: [Synalist] Simple Serial example program for SynaSer

2009-02-16 Thread Lukas Gebauer
> Am I allowed to distribute the two SynaSer source files (slightly > modified) this way? Yes, of course! This is reason, why all files have header with version, contact and license. You can get any file form Synapse/synaser and distribute it freely as you wish, just do not delete header of sou

Re: [Synalist] TMimeMess and Greek characters

2009-02-16 Thread Lukas Gebauer
> pMM->AddPartTextEx( pStringList, NULL, ISO_8859_1, true, ME_8BIT ); > > Is is possible to change that line so that all current English users > and the new Greek user would be supported? Or is it not as easy as > that? Best way is use unicode, especially UTF-8 encoding. It can contain all ch

Re: [Synalist] Releasing Serial Port Connections

2009-02-16 Thread Lukas Gebauer
> When I connect to view the data in Minicom, I can see the Binary data > being received. I then close Minicom and run my application that can > process this binary data and everything works fine to this point. When > I stop my application and restart it, I get the error "Bad file > number" when tr

[Synalist] TMimeMess and Greek characters

2009-02-16 Thread David Perkins
Hello I'm still using BCB2006 and I haven't yet had to look at character encoding...until now. I've been using Synapse and TMineMess to email text and html emails with attachments etc with much success, however, I now have a Greek customer and their Greek characters are not being sent. I'm hopin

Re: [Synalist] Releasing Serial Port Connections

2009-02-16 Thread Markku Uttula
Werner Hauptfleisch wrote: > SerialObj.Config('9600',8,'N',1,false,false) Hmm... You're requesting 1½ stop bits on purpose? -- Markku Uttula -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,

Re: [Synalist] Auto-reconnect

2009-02-16 Thread Werner Hauptfleisch
Hi, I think the best way is to query the modem with some AT command and then to monitor the value of LastError that is returned? Regards, W On Mon, Feb 16, 2009 at 7:56 AM, Petros Tavridis wrote: > Hi. What's the best way for a service application to detect if a > connection to TBlockSerial h

[Synalist] Releasing Serial Port Connections

2009-02-16 Thread Werner Hauptfleisch
Hi Synalist, I have stumbled across an interesting problem when using Synaser to connect to a Serial port. I think this might be hardware related and maybe someone has a solution: I am using a Advantech PC104 board that has 2 serial RS232 ports and have Linux loaded as the OS. To this I connect a