Re: [fpc-pascal] Flush(StdOut) doesn't mean Flush(Output)

2008-07-08 Thread Tomas Hajny
On Mon, July 7, 2008 12:11, leledumbo wrote:

 So, what's the purpose of having them?

That's the part I could not answer myself and asked others who could
remember the reasons for introducing it. There may have been technical
reasons like support for absolute keyword (which could support a real
alias) missing with some targets/platforms, or some reasons why there
should be two distinct text files with their own buffers, possibly
different I/O handlers and using different output device/handle.

Tomas


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


[fpc-pascal] (no subject)

2008-07-08 Thread Vladimir Karpenko

 How can i access harware ports if there is no ports unit on Linux
 x64 port? 

There is a tutorial for Hardware Access here:
http://wiki.lazarus.freepascal.org/Hardware_Access
 Well of course i read that, but there is no ports unit in x64 Linux.

uses
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls,
 {$IFDEF WIN32}
   Windows;
 {$ENDIF}
 {$IFDEF Unix}
   ports;
 {$ENDIF}

You see the given examples are using ports unit in *nix.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Re: Hardware Access on x64 Linux

2008-07-08 Thread Csányi Pál
Vladimir Karpenko cr0acker-JGs/[EMAIL PROTECTED] writes:

 How can i access harware ports if there is no ports unit on Linux
 x64 port? 

There is a tutorial for Hardware Access here:
http://wiki.lazarus.freepascal.org/Hardware_Access
  Well of course i read that, but there is no ports unit in x64 Linux.

 uses
   Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls,
  {$IFDEF WIN32}
Windows;
  {$ENDIF}
  {$IFDEF Unix}
ports;
  {$ENDIF}

I solved the hardware access on Windows and GNU/Linux x32 too.

I use the following units: BaseUnix, x86, crt.

I use fpIOPerm to give permission to the port, and WritePortB to write
to the port. 

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Error during building DEB package

2008-07-08 Thread Roland Turcan
Hello FPC-Pascal users discussions!

[EMAIL PROTECTED]:/usr/lib/lazarus/fpcbuild$ sudo make deb NOGDB=1
[sudo] password for user: 
Debian version (2.2.2rc1) is not correct, expect 2.2.3
make: *** [debcheck] Error 1

What could it be a problem? Upgrade from 7.10 to 8.04 didn't solve
this problem.

Thanks in advance.

-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

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


Re: [fpc-pascal] Error during building DEB package

2008-07-08 Thread ik
There is no version 2.2.2rc1 there is 2.2.2 or 2.2.3. that is, 2.2.2rc
is not the version of the compiler but the version of the package.

Ido

On Tue, Jul 8, 2008 at 4:36 PM, Roland Turcan [EMAIL PROTECTED] wrote:
 Hello FPC-Pascal users discussions!

 [EMAIL PROTECTED]:/usr/lib/lazarus/fpcbuild$ sudo make deb NOGDB=1
 [sudo] password for user:
 Debian version (2.2.2rc1) is not correct, expect 2.2.3
 make: *** [debcheck] Error 1

 What could it be a problem? Upgrade from 7.10 to 8.04 didn't solve
 this problem.

 Thanks in advance.

 --
 Best regards, TRoland
 http://www.rotursoft.sk
 http://exekutor.rotursoft.sk

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




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


[fpc-pascal] Re: Ports unit on x64 Linux port

2008-07-08 Thread Vladimir Karpenko
 x64 port? 

There is a tutorial for Hardware Access here:
http://wiki.lazarus.freepascal.org/Hardware_Access
  Well of course i read that, but there is no ports unit in x64 Linux.

 uses
   Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, 
ExtCtrls,
  {$IFDEF WIN32}
Windows;
  {$ENDIF}
  {$IFDEF Unix}
ports;
  {$ENDIF}

I solved the hardware access on Windows and GNU/Linux x32 too.

I use the following units: BaseUnix, x86, crt.

I use fpIOPerm to give permission to the port, and WritePortB to write
to the port. 

Well WritePortB is in x86 unit? which is abscent in X86_64 port:(
I wonder if some one can write in x64 asm program like this:
MOV DX,0378H

MOV AL,data //data - char.

OUT DX,AL
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Webservice from .Net

2008-07-08 Thread [EMAIL PROTECTED]
I build webservice app with .Net and connect to client app with fpc. I 
used wst unit. But i have problem with WSDL translate result using the 
Lazarus IDE. There is no parameter/function like wst samples. Can anyone 
help me? or give the tutorial step by step? Tq

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