Paul Ishenin wrote:
> Andrea Mauri wrote:
>
>> I tried it (replaced LCLType and LCLintf with Windows), now I got an
>> error on these lines:
>> NCB.ncb_command := Char(NCBENUM);
>> NCB.ncb_command := Char(NCBRESET);
>> NCB.ncb_command := Char(NCBASTAT);
>> NCB.ncb_buffer := PCha
Andrea Mauri wrote:
> I tried it (replaced LCLType and LCLintf with Windows), now I got an
> error on these lines:
> NCB.ncb_command := Char(NCBENUM);
> NCB.ncb_command := Char(NCBRESET);
> NCB.ncb_command := Char(NCBASTAT);
> NCB.ncb_buffer := PChar(@Adapter);
> The error is:
> Er
Finish i can solve my problem.
Lazarus 0.9.27 r19639 from daily snapshot, work in a local gnome session on
the server, but not work in a gnome session started from a sunray thin
client.
Lazarus 0.9.26.2 work well on both.
Thanks to all!!
--
Carlos Germán Tejero
___
@Paul:
Something else I noticed.
Can there be a relationship between this and bug
http://bugs.freepascal.org/view.php?id=13062 (IDE prints garbage on
screen)?
I ask this because I noticed that the broken version produced lots of
garbage on the screen, and after your fix, this has been reduced (no
Andrea Mauri schreef:
> If I add Interfaces to the main unit the project compiles fine. But is
> it ok to add interfaces to a console application?
If it can be prevented, I would not do it, but it is OK. Note that it would
require
a display on linux, for example.
> I need two LCL unit, LCLtyp
I tried it (replaced LCLType and LCLintf with Windows), now I got an
error on these lines:
NCB.ncb_command := Char(NCBENUM);
NCB.ncb_command := Char(NCBRESET);
NCB.ncb_command := Char(NCBASTAT);
NCB.ncb_buffer := PChar(@Adapter);
The error is:
Error: Incompatible types: got "Char"
Andrea Mauri wrote:
> If I add Interfaces to the main unit the project compiles fine. But is
> it ok to add interfaces to a console application?
> {$IFDEF MSWINDOWS}
> , snmp, nb30, dynlibs, LCLtype, LCLintf, LCLProc
It will be enough for you to replace LCLType, LCLIntf by Windows unit.
The
If I add Interfaces to the main unit the project compiles fine. But is
it ok to add interfaces to a console application?
I need two LCL unit, LCLtype and LCLintf. I use this unit in order to
get the mac address on windows (using netapi32.dll).
I found a delphi code and I modified it in order to