On Fri, April 11, 2008 22:12, Stephano wrote:
> Tomas Hajny wrote:
>> If I read the Windows unit sources correctly, INVALID_HANDLE_VALUE = -1
>> too. However, I believe that you might consider returning UnusedHandle
>> constant defined in System unit for all the platforms (that's -1 for at
>> least
Koenraad Lelong wrote:
5- Is it OK to designate serial ports by COMx fow Windows and /dev/ttySx
for Linux?
FWIW, I have a USB to serial converter. It shows as /dev/ttyUSB0.
I see now how I did not express myself clearly: I meant that I did not
intend to change the way devices are specified. Un
Stephano schreef:
> I am planning to improve, if possible, the serial units for both Linux
> and Windows, but have a few questions before I proceed any further:
>
...
> 5- Is it OK to designate serial ports by COMx fow Windows and /dev/ttySx
> for Linux?
FWIW, I have a USB to serial converter. It
Marco van de Voort wrote:
No, they are correct. If you look into the headers you'll see:
DWORD DCBlength; /* sizeof(DCB) */
DWORD BaudRate; /* Baudrate at which running */
DWORD fBinary: 1; /* Binary Mode (skip EOF check)*/
DWORD fParity:
Tomas Hajny wrote:
If I read the Windows unit sources correctly, INVALID_HANDLE_VALUE = -1
too. However, I believe that you might consider returning UnusedHandle
constant defined in System unit for all the platforms (that's -1 for at
least most of them anyway, but I believe that it may be still b
Marco van de Voort wrote:
5- Is it OK to designate serial ports by COMx fow Windows and /dev/ttySx
for Linux?
No, since e.g a serial port on some other device might have a different
state. And strictly, this is even possible for Windows. Always keep naming
configurable and
> I am planning to improve, if possible, the serial units for both Linux
> and Windows, but have a few questions before I proceed any further:
>
> 1- I guess the unit rtl\win\wininc\struct.inc has 2 bugs:
> a- bm_DCB_fRtsControl = $3000. It should be $2000.
> b- bm_DCB_fDtrControl = $
Thanks, I'll check that one out.
Andy
PN> I can't help you with your problem directly, but perhaps this newsgroup for
PN> object orient programming could help:
PN> News server:newsgroups.borland.com
PN> news group:borland.public.delphi.oodesign
PN> It is for Delphi, but it would be equ
Inoussa OUEDRAOGO wrote:
Have you try SCOPE_IDENTITY() ? Available at least since SQL SERVER 2000.
I have used it with success.
Well, yeah. But it's not perfect. I want generators, as in:
create generator an_atomic_counter;
set an_atomic_counter = 1 /*or something like that*/
declare
2008/4/11, Matt Emson <[EMAIL PROTECTED]>:
> Michael Van Canneyt wrote:
>
> > And it is exactly why I can't use MySQL, MSSQL: they don't have sequences
> or
> > generators. I need the ID BEFORE I insert the record, not after.
> >
> >
>
> YES!! This is also missing from SQL Server... or at least,
Michael Van Canneyt wrote:
And it is exactly why I can't use MySQL, MSSQL: they don't have sequences or
generators. I need the ID BEFORE I insert the record, not after.
YES!! This is also missing from SQL Server... or at least, using a GUID
is complete overkill. The mechanisms SQL Server h
On Wed, 9 Apr 2008, Tom York wrote:
> On Wed, Apr 9, 2008 at 5:53 AM, Codebue Fabio - P-Soft <[EMAIL PROTECTED]>
> wrote:
>
> > Take a look to a new Firebird 2.1 next month and probably you will change
> > your idea about it...
> > UDF: FreeAdHocUDF, a lot of internal SQL function...
> > and if
On Fri, Apr 11, 2008 at 10:29:57AM +0200, Vincent Snijders wrote:
> [EMAIL PROTECTED] schreef:
> >Hello,
> >
> >
> >Are there better ways to install fpc 2.2.0 on ubuntu besides downloading
> >~15 debs
> >from sourceforge ? I'm thinking that it would be much more convenient to
> >have all those
[EMAIL PROTECTED] schreef:
Hello,
Are there better ways to install fpc 2.2.0 on ubuntu besides downloading ~15
debs
from sourceforge ? I'm thinking that it would be much more convenient to have
all those
debs packaged into a single tar . Or maybe there is some deb repository
available ?
Hello,
Are there better ways to install fpc 2.2.0 on ubuntu besides downloading ~15
debs
from sourceforge ? I'm thinking that it would be much more convenient to have
all those
debs packaged into a single tar . Or maybe there is some deb repository
available ?
Thanks,
Adrian Maier
On Wed, Apr 9, 2008 at 5:53 AM, Codebue Fabio - P-Soft <[EMAIL PROTECTED]>
wrote:
> Take a look to a new Firebird 2.1 next month and probably you will change
> your idea about it...
> UDF: FreeAdHocUDF, a lot of internal SQL function...
> and if you wanna a good book www.ibphoenix.com Helen Borrie
May be you can use the Wine library. It is a library created to help
porting applications from Windows to *NIX. Visit www.winehq.org
Regards.
Ñuño Martínez.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/l
17 matches
Mail list logo