[fpc-pascal] Re: Windows CE emulator and console

2007-05-25 Thread Felipe Monteiro de Carvalho

Hi,

Is anyone using the new emulator? And if so, how do you test your apps?

thanks,
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] threads and serial port

2007-05-25 Thread josepascual
Hi everyone,

 

I have a program with several thread, I'm having a problem with serial port
due I need to send all the bytes (about 20 bytes/frame)

without delay. 

How can I do it? 

Can I set priority to thread which is sending byte to serial port to
highest? how?

Can I stop all thread but current during write in serial port?

Low Latency for serial port can help me? and how to active it in freepascal?

 

which is really curiously is I have made a very little program in c to send
bytes and It can do it well but in fpc I can not do it yet.

 

any suggestion is wel-come,

 

thank you in advanced,

 

Jose Pascual

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] [Announce] ICU4PAS 3.6

2007-05-25 Thread Milan Marusinec



Dear Friends of FreePascal,

I am pleased to announce there is a complete C/C++ headers conversion
of the ICU 3.6 into the Object Pascal language. It is a Direct Class 
Wrapper

over the ICU shared libraries. It provides all of the functionality as
the C/C++ version, including all of the object oriented API.

It can be used with Delphi, Kylix and FreePascal compilers and it is
cross-platform (Windows & Linux).

You can find it at: http://www.icu4pas.org

Regards
Milan Marusinec


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Xft header translation in FPC

2007-05-25 Thread Michael Van Canneyt


On Fri, 25 May 2007, Graeme Geldenhuys wrote:

> Hi,
> 
> Does FPC contain a Xft header translation?  I've got one that I
> created for fpGUI - couldn't find one in FPC.
> 
> Is there any reason it's not part of FCL?  Maybe because it doesn't
> exist on Windows (or does it)?

Well, in FPC it would end up in packages/extra/X11, I suppose ?
If you want/allow, I can put it there.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Xft header translation in FPC

2007-05-25 Thread Graeme Geldenhuys

On 5/25/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:


Well, in FPC it would end up in packages/extra/X11, I suppose ?
If you want/allow, I can put it there.


Thanks... I'll make a more complete header and sent it.



--
Graeme Geldenhuys

General error, hit any user to continue.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Xft header translation in FPC

2007-05-25 Thread Graeme Geldenhuys

Hi,

Does FPC contain a Xft header translation?  I've got one that I
created for fpGUI - couldn't find one in FPC.

Is there any reason it's not part of FCL?  Maybe because it doesn't
exist on Windows (or does it)?


--
Graeme Geldenhuys

General error, hit any user to continue.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Rows affected in sqldb query

2007-05-25 Thread Joao Morais


Hello,

Is there a way to know how many rows was affected in the last dml 
statement (sqldb classes)? Or, at least, if an update or a delete 
statement found what they was looking for?


Thanks,
--
Joao Morais

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Freepascal site down?

2007-05-25 Thread Jonas Maebe


On 25 mei 2007, at 16:13, Francisco Reyes wrote:


I am new to FreePascal and was trying to access the site to read up.
www.freepascal.org just hangs up

Is the site down?


No, but it's behind a broken firewall which drops fragmentation icmp  
packets (which causes problems if you e.g. use pptp and have a too  
large mtu set). Try a mirror, such as http://www.hu.freepascal.org



Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Freepascal site down?

2007-05-25 Thread Francisco Reyes

I am new to FreePascal and was trying to access the site to read up.
www.freepascal.org just hangs up

Is the site down?  
___

fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Freepascal site down?

2007-05-25 Thread Francisco Reyes

Jonas Maebe writes:

No, but it's behind a broken firewall which drops fragmentation icmp  
packets (which causes problems if you e.g. use pptp and have a too  


Don't use pptp, but can't access the primary site.


large mtu set).


Default mtu (1500?)


Try a mirror, such as http://www.hu.freepascal.org


That worked. Thanks.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Freepascal site down?

2007-05-25 Thread Jonas Maebe


On 25 mei 2007, at 16:49, Francisco Reyes wrote:


Jonas Maebe writes:

No, but it's behind a broken firewall which drops fragmentation  
icmp  packets (which causes problems if you e.g. use pptp and have  
a too


Don't use pptp, but can't access the primary site.


Maybe some connection in between does (or something else which tacks  
on a few bytes, resulting in a need to fragment packets).



large mtu set).


Default mtu (1500?)


Try 1492 instead.


Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Server software in pascal?

2007-05-25 Thread Francisco Reyes
I have not used Pascal in a while, but I am exploring whether to use pascal 
for a tcp server software. In particular it would be a policy server for 
postfix mail transfer agent.


Any comments/suggestions/pointers for the following will be greatly 
appreciated:


* sending data to syslog
* Listening in TCP socket


Dusted off an old pascal book.. to refreh my mind in the syntax.. but it 
would be most helpfull if there are any libraries for the 2 above items.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Server software in pascal?

2007-05-25 Thread Daniël Mantione


Op Fri, 25 May 2007, schreef Francisco Reyes:

> I have not used Pascal in a while, but I am exploring whether to use pascal
> for a tcp server software. In particular it would be a policy server for
> postfix mail transfer agent.
> 
> Any comments/suggestions/pointers for the following will be greatly
> appreciated:
> 
> * sending data to syslog
> * Listening in TCP socket
> 
> 
> Dusted off an old pascal book.. to refreh my mind in the syntax.. but it would
> be most helpfull if there are any libraries for the 2 above items.

Check the sockets unit documentation. You'll be up and running in no time. 
There are also good OOP frameworks like Synapse, LNET and Indy, which 
provide complete implementations of common network protocols.

Daniël___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Server software in pascal?

2007-05-25 Thread Francisco Reyes

Daniël Mantione writes:

Check the sockets unit documentation. You'll be up and running in no time. 
There are also good OOP frameworks like Synapse, LNET and Indy, which 
provide complete implementations of common network protocols.


Do you recommend any of them?
I need SMTP since it will be a policy server for postfix..

Thanks!
Are there pointers to them in the web site or I need to search for them 
separately?

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Server software in pascal?

2007-05-25 Thread Daniël Mantione


Op Fri, 25 May 2007, schreef Francisco Reyes:

> Daniël Mantione writes:
> 
> > Check the sockets unit documentation. You'll be up and running in no
> > time. There are also good OOP frameworks like Synapse, LNET and Indy,
> > which provide complete implementations of common network protocols.
> 
> Do you recommend any of them?
> I need SMTP since it will be a policy server for postfix..

All toolkits have an SMTP class. You can also do smtp very easy with 
readln/writeln. It's 100% your preference.

> Thanks!
> Are there pointers to them in the web site or I need to search for them
> separately?

You will find various references to them, since they are used by a lot of 
people.

Daniël___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Server software in pascal?

2007-05-25 Thread Francisco Reyes

Daniël Mantione writes:

All toolkits have an SMTP class. You can also do smtp very easy with 
readln/writeln. It's 100% your preference.


Thanks. Will look for examples and try before asking any more questions.
Have to get the rust off my pascal. :-)

You will find various references to them, since they are used by a lot of 
people.


Last question for now until I get to readup..
Will those libraries allow me low level control or should I research into 
the readln/writeln you mentioned?


Just wondering if those libraries are low level enough to write the policy 
server.. or if they are good primarily for the basics like sending mail.


Thanks for all the pointers so far.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Server software in pascal?

2007-05-25 Thread Daniël Mantione


Op Fri, 25 May 2007, schreef Francisco Reyes:

> Daniël Mantione writes:
> 
> > All toolkits have an SMTP class. You can also do smtp very easy with
> > readln/writeln. It's 100% your preference.
> 
> Thanks. Will look for examples and try before asking any more questions.
> Have to get the rust off my pascal. :-)
> 
> > You will find various references to them, since they are used by a lot of
> > people.
> 
> Last question for now until I get to readup..
> Will those libraries allow me low level control or should I research into the
> readln/writeln you mentioned?

No, the sockets unit provides you low lowel operations, like connecting, 
sending data etc. LNet/Synapse/Indy provide you high level classes that 
allows you to do things like "send this message to [EMAIL PROTECTED]".

> Just wondering if those libraries are low level enough to write the policy
> server.. or if they are good primarily for the basics like sending mail.

They are remarkably flexible, but if you really want to control everything 
yourself, you might need to write your own smtp code.

Daniël___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Freepascal site down?

2007-05-25 Thread Michael Van Canneyt


On Fri, 25 May 2007, Francisco Reyes wrote:

> I am new to FreePascal and was trying to access the site to read up.
> www.freepascal.org just hangs up

Works fine from here ?

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal