Thanks a lot! Seems to working fine now
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
2017-03-30 15:19 GMT+02:00 Michael Van Canneyt
>
>
> Nevertheless, that should work.
>
> I've used it in multi-threaded apache modules.
>
Well it doesn't work or fpjson module is not thread safe in this case. You
can test it by yourself with attached demo (first post). Try it few times
because so
Yes, I'm aware of cthreads and tested it too (without it also critical
sections don't work) but it doesn't help with attached examples. Still same
errors in logs
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-b
Hi,
I'm wondering if shared libraries (on Linux) support call exported function
from multiple threads. I made small demo. Threads send JSON PChar into
shared lib function which parse it and log in syslog. No global vars,
everything locally in function. But even that I'm getting random errors
like:
Last thing. Is possible that some FPC mixed version of .ppu or .o will be
linked into my binary? I mean some third party stuff which I forgot clean
up etc, you know how it is. Just wondering if final binary file can contain
*.ppu and *.o compiled by different FPC versions
__
2017-02-08 21:59 GMT+01:00 Jonas Maebe :
>
>
> http://www.freepascal.org/docs-html/prog/progsu41.html (FPCVERSION)
Excellent!
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Thank you guys! Sorry for such delay but finally had time to prepare
seriously my enviromnent for FPC V3. Everything seems to work perfect
(Lazarus IDE and FPC) but just curious question: Is it possible to get
information which FPC version my project was compiled? By binary analysis
or at runtime.
Hi,
I have installed FPC 2.6.4 for a long time on my Linux with install.sh
script in /usr dirs. I would like to install FPC 3.0.0 but keep 2.6.4 as
"default" version due to a lot of company projects which I don't want
reconfigure. I want to install FPC 3.0.0 somewhere in my home dir and
configure
2016-08-04 22:38 GMT+02:00 Jonas Maebe :
> The default FPC version is not changed via /etc/fpc.cfg. It's handled via
> symlinks in /usr/bin. You can use the old compiler by directly calling it
> via /usr/lib/fpc/2.6.0/ppc386 (or ppcx64 for the x86-64 version).
>
> The configuration file should be c
Hi,
Need to have both FPC versions, 2.6 for all old projects (a lot) and
3.0 for new ones (only one for now). Installed 3.0 from debs (2.6 is
also from deb packages). While installing got info that there is
another FPC version and /etc/fpc.cfg need to be changed for switching
between default versi
> I can confirm. Seems like is worth to put this on bugtracker :)
Reported here:
http://bugs.freepascal.org/view.php?id=29992
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> Just a little hint: MSEide has "build modes". IIRC it had it even before
> Lazarus introduced them. Please ask on the MSEide+MSEgui mailinglist if you
> like to know how it works.
> http://news.gmane.org/gmane.comp.ide.mseide.user
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
2016-04-08 12:27 GMT+02:00 Rainer Stratmann :
> con of mside why I don't use it:
>
> The behaviour of the cursor on the end of the line. You cannot go behind the
> line as it is usual in almost every other editor. Martin says it is difficult
> to
> integrate which I find hard to understand. That b
I'm also learning MSEgui from a few weeks. It was very hard start but
now I love it. First what you need understand is that it is not using
any Qt, Gtk, WinAPI backend as Lazarus so you never get native OS look
but of course you can imitate it with own style. Yes, MSEgui has
styles engine. For exam
Anyone? :)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
I'm planning constantly moving my apps to FPC 3.0.0. Compiled the
smallest app and everything seems to working fine. In official recent
changes list I read that main different is in unicode / utf8 /
codepage. What does it mean? Is there any simple real example with
"what you did in FPC 2.6.4 a
Hi,
This code worked fine on FPC 2.6.4:
procedure Test(constref AParam: String = 'def_param');
begin
writeln(AParam);
end;
But on FPC 3.0.0 I get error:
unit1.pas(30,42) Error: Default values can only be specified for
value, const and constref parameters
Had to change constref to const but w
Indeed! This code need finalize() now because heaptrc detect memory leak:
procedure TForm1.Button1Click(Sender: TObject);
var f: TMyRec;
begin
FillChar(f, SizeOf(TMyRec), 0);
f.Field1 := 123;
f.Field2 := 'abc'+IntToStr(f.Field1);
push(@f);
system.Finalize(f);
FillChar(f, SizeOf(TMyRe
Hi,
Should I (and in which case) call Finalize() when using FillChar/FillByte?
Heaptrc unit is not detecting any memory leak. For example:
type
PMyRec = ^TMyRec;
TMyRec = record
Field1: Int64;
Field2: String;
Field3: Int64;
Field4: String;
Field5: Boolean;
end;
procedur
2015-01-02 15:51 GMT+01:00 Mattias Gaertner :
>
> To see all messages in Lazarus use the popup menu of the
> Messages window (right click).
>
Thank you Mattias! lgmime-2.6 was hidden in lazarus message window. Problem
solved
___
fpc-pascal maillist -
Hi,
One of my project just started fail on compilation. Other projects compile
fine. In lazarus message window I get only "Error: Error while linking".
Normally in that case, more details were printed like "missing -lib" etc
but here I get only "error while linking". Tried cleanup output dir but n
Hi,
I need to use TTCPBlockSocket on client side. I need to listen for
server messages so I moved TTCPBlockSocket.RecvString(100) to another
thread loop. The problem is that I also need same socket to send
messages from main thread. I suppose that I need to use critical
sections to avoid deadlocks
Thanks Graeme! My fault that I didn't read documentation. I checked
ciphers source looking for comments at top of the unit.
BTW: What does it mean "non-commecial"? Algorithms are licensed or FPC
implementations? My tool will be free and open source with donate
option
___
Hi,
Need to encrypt file with 512bit (or higher) key. Looking at DCPCrypt
but seems that none of them can do that. Any advice?
Regards
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-p
2014-06-07 16:49 GMT+02:00 Michael Van Canneyt :
>
>
> On Sat, 7 Jun 2014, Krzysztof wrote:
>
> Hi,
>>
>> I need to analyze a lot of big objects (a lot of properties, global vars
>> etc). Looking for easy way to print object info in
>> format:
>>
&g
Hi,
I need to analyze a lot of big objects (a lot of properties, global vars
etc). Looking for easy way to print object info in format:
TObject
Property/VarName = value
end;
It should also step into subobjects. Looking at typeinfo but can't find
method for this.
Regards
__
Thanks!
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
This article is quite clear for me: http://wiki.freepascal.org/for-in_loop
But let say that I have this class:
TMyList = class
private
FList: TList
public
constructor Create;
destructor Destroy;
procedure Add;
procedure Remove;
end;
Now I want to do:
for a in MyClass do
begin
e
Yes, I can type but carret is invisible. After checking "Persistent Caret"
everything is working fine, thanks!
2014-04-25 18:45 GMT+02:00 Martin Frb :
> On 25/04/2014 17:07, Krzysztof wrote:
>
> Cursor is not blinking. I don't know where it is
>
>
>
> Does
Cursor is not blinking. I don't know where it is
2014-04-25 15:10 GMT+02:00 Mattias Gaertner :
> On Fri, 25 Apr 2014 14:52:55 +0200
> Krzysztof wrote:
>
> > I noticed something weird in 1.2.2. When finishing debugging (by pressing
> > Stop icon) codeeditor can't
I noticed something weird in 1.2.2. When finishing debugging (by pressing
Stop icon) codeeditor can't restore position cursor. I need to switch tab
and back again and then it is ok. Kubuntu 14.04 64bit
___
fpc-pascal maillist - fpc-pascal@lists.freepasc
Thanks to all for tips. They are very helpfull. I'll test it, wait for
feedback :)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
Does FPC have some file watching solution? I need this only for linux.
I need notifications:
- File/folder changed / removed / added in watched directory. I have
idea how to do this in thread loop but maybe FPC has OS solution
Regards
___
fpc-pascal
essage
msg := dbus_pending_call_steal_reply(pending);
if (msg = nil) then
begin
WriteLn('Reply Null');
Exit;
end;
// free the pending message handle
dbus_pending_call_unref(pending);
// free reply
dbus_message_unref(msg);
end;
2014-04-05 15:35 GMT+02:00 Luca
Hi,
DBus documentation give me a headache. Does anyone know solution how
to implement DBus in GUI main loop (for signals listening)? I have
tried with threads but have two problems:
1. Not all signals are catched (randomly)
2. Deadlock when main thread trying to use dbus methods
Regards
_
Thanks! exInvalidOp exception mask solved problem. But I don't understand.
Same error I had in fpGUI project. fpGUI interface doesn't use GTK, QT etc,
it drawing over pure X11 so how it is possible that application catch GTK
errors?
___
fpc-pascal maillis
Hi,
I have strange issue. Simple mpg123 player which work fine on LCL project,
on console application throw floating error in line "mh_e :=
mpg123_read(mh, @outbuf[0], buffer_size, done);"
Here you can download demo:
http://ubuntuone.com/34XmBk7Lr2yCliPPTxcYI1
You find two projects in zip file.
Hi,
Free Pascal documentation has info about oldlinux unit which has
interesting functions like fstat or fsstat. But can't find this unit in my
FPC 2.7.1
Regards
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mai
I'm stopping by: sudo service my_script.sh stop.
Ok so I just use shutdown event instead
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I have daemon on Linux Mint 14 64bit which working fine, but I noticed that
OnStop and OnDestroy events are never fired. I created simple test which
write to syslog and create file in my home directory:
procedure TTestDaemon.DataModuleStop(Sender: TCustomDaemon; var OK:
Boolean);
var sl: TStr
I know how sleep blocking works in thread :) . I'm just wondering what is
better, sleep or RTL event or something else
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I'm reading that I can't use timer in daemon because daemon core is based
on thread. So I'm trying to create another thread which simulate timer. My
interval is quite big (~1-5 minutes), so I can't just use sleep(6)
because daemon will hung on terminate. So I have two ideas:
1. Create loo
Thanks! This is what I needed
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I need system info such CPU (by PID), memory usage (by PID), free memory
etc. Target platform: Linux.
Linux have command line tools like ps, top, memstat, but I'm just wondering
if Free Pascal has wrappers for these commands. If not, then I just get
these information by execution external proc
Hi,
Simple "hello world" application created in QT Creator has only basic QT
dependencies (libqtgui, libqtcore and libqtwidgets). But Qt4Pas has static
linked api for all QT modules, so creating "hello world" in free pascal
need also libqtnetworking, libwebkit (33 MB!) and even libsqlite and more.
Ok, I changed GlobalPrefix to fpc source path (it is
/usr/lib/codetyphon/fpcsrc/) but still same result. So my files looks like:
fpconf.cfg
[Defaults]
ConfigVersion=4
GlobalPrefix=/usr/lib/codetyphon/fpcsrc/
LocalPrefix={LocalRepository}
Compiler=/usr/lib/codetyphon/fpc/bin/x86_64-linux/fpc
OS=lin
Still same error
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I'm trying to configure fppkg, because seems that this is only way to
install GeckoPort version 2 (wiki.freepascal.org/GeckoPort_version2). I'm
using thos tips: wiki.freepascal.org/fppkg#Configuration . I have
CodeTyphon 4.0 so paths to FPC are different and can't configure it
What I did:
1.
I don't like a lot of C++ syntax but this one is interesting. You really
don't like it? :)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I like when Free Pascal trying to implement best practices from other
languages. That was with increment variable using assign operator: i += 1.
Anyway, few days ago I analyzed C++ code and I liked one syntax:
if ( ( i = GetSomeValue ) >= 10 ) {
// variable "i" already has value returned by
> These calls are available in the linux unit. I have an article that
> describes how it works, if you want.
>
@Michael Van Canneyt: Could you send mi link to this article?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepasc
Ok finally I get working demo of first websocket client based on synapse:
http://code.google.com/p/bauglir-websocket . If you want to connect to test
serwer on http://www.websocket.org you must set host exactly to '
echo.websocket.org' (don't use 'ws://' or 'http://' prefix!) and port to 80.
But if
> But then you did not mention that you're looking for something
> cross-platform either.. ;-)
Actually I did :P "...client which work on linux and windows"
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/
Yes, I saw it in google result. What I remember that ICS was only for
windows. Something changed in this case?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
Anyone know good and free websocket client which work on linux and windows?
What I found:
1. http://code.google.com/p/bauglir-websocket - looks nice, based on
synapse. But demo can't connect to ws://echo.websocket.org on port 8080.
Seems that thread listener don't have exception handlers. I w
And which database you prefer? I don't need complicated functionality. The
most important is insert speed and it must be embedded. I'm thinking of
SQLight, DBF or Firebird Embedded
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.f
Hi,
I need similar functionality like mp3 players have (e.g rhythmbox, banshee,
clementine). I have some experience with databases (I worked in company
which make ERP systems), but don't know how to connect it with file
handling.
My general questions are:
1. I have big collection of music. First
Thank you very much :)
2012/12/13 Mattias Gaertner
> On Thu, 13 Dec 2012 22:32:06 +0100
> Krzysztof wrote:
>
> > Hi,
> >
> > I know that in normal cases those things has no matters, but I do much
> > things in OnPaint so each millisecond is matter. For
Hi,
I know that in normal cases those things has no matters, but I do much
things in OnPaint so each millisecond is matter. For example, strings
comparisons:
What is faster if string is "big":
if s<>'' then
or:
if Length(s)>0 then...
Same thing with incrementations:
i := i + 1
or:
Inc
Thanks
2012/12/7 Howard Page-Clark
> On 07/12/12 2:50, Krzysztof wrote:
>
>> Hi,
>>
>> Interfaces can have aliases for functions:
>>
>> Function MyOtherFunction : Integer;
>> Function IMyInterface.MyFunc = MyOtherFunction;
>>
>&
Hi,
Interfaces can have aliases for functions:
Function MyOtherFunction : Integer;
Function IMyInterface.MyFunc = MyOtherFunction;
Can normal object have aliases for properties? For example,
TControl.Caption. I would like to publish this property in my descendant as
"MyExtraText". Is thi
So it will be possible to convert for example libQT4Pas?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Thanks Tomas, I'll look at your example
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I must modify some one line (mostly first line) in big text file (~10
000 lines). Doing this by loading and saving file using TStringList
takes a long time (and amount of RAM). Exists any faster way based on
TextFile type (like Write, WriteLn)?
Regards
I need only basic checking, it not need to be 100% compability with OS
specification. My program asking user for playlist name and I'm saving
it in local folder with my own extension.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://list
So I for sure check if file exists after creating it. Thanks for that tips.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
I just quicky googled not allowed characters and wrote this simple function:
function IsValidFilename(const AFilename: String): Boolean;
var
c: set of Char = ['<','>',':','"','/','\','|','?','*', '%', '.'];
i: Integer;
begin
Result := True;
for i:=1 to Length(AFilename) do
if AFilename
Hi,
Exists any multiplatform function which check if string contains not
allowed characters (like < > / \ on windows) for filename?
Regards
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pasc
Ouch, my fault :/ . I have created new build mode for QT from GTK
build mode (stripped, without logs etc), but don't know why it copied
also my debug defines from debug build mode. So, http threads tried to
log response in opt folder. This fail so thread fail and this meant
for me that something is
Hmm problem is that I'm trying deploy libQt4Pas with my application (I
have run.sh script which do "export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/myapp/lib" before running
application) and I see that this library trying do something in /opt
folder:
open("/opt/myapp/lib/tls/x86_64/libpthread.so.0", O
Hi,
I have script which install my application in /opt/myapp directory.
This script check if user is root so it can set permissions to read
and access as executable. Everything works fine. After installation I
can run this application, but It doesn't has access to the internet. I
must manually set
Thanks to all!
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hmm sounds good. So I can normally open another exec in for example
TFileStream and write something at the end and this exec run without
error?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pa
Maybe I can write own commandline tool for server admins, which can
edit resource of another (written in FPC too) executable?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I'm reading about variable initialization
(http://www.freepascal.org/docs-html/ref/refse22.html) . Can I
initialize class field too? Like in Java:
type
TMyClass = class
private
FSomeField: Integer = 123;
end;
I always initialize this in overrided constructor, but above example
is muc
;s the back-end for WinFF (and most other utilities like these).
> Also, I would expect VirtualDub to run fine with WINE.
>
> -Flávio
>
> On Wed, Jun 20, 2012 at 11:00 AM, Krzysztof wrote:
>> Hmm, external application is nice idea. But VirtualDub is windows
>> only. Anyone
rtualDub or VirtualDubMod (I think it's at Sourceforge).
>
> Greetings
>
> - Original Message -
> From: "Krzysztof"
> To: "fpc-pascal"
> Sent: Tuesday, June 19, 2012 3:53 PM
> Subject: [fpc-pascal] Creating video files
>
>
>> Hi,
&g
Hi,
I would like to write video (created from series of bitmaps) to some
popular video formats like avi, flv. Is this possible? Has FPC
bindings for video librarys?
I googled that WinFF (http://winff.org/html_new/) is written in FPC
and Lazarus, so I supose that some bindings exists but can't find
Thanks! I will look at this
2012/5/8 Graeme Geldenhuys :
> Hi,
>
>> @Graeme. I tried download tiOPS source but can't extract archive on
>> linux. I never had problems with compressed files on linux. Which
>> format is this?
>
>
> I meant you should be able to simply check-out the tiRTTI.pas unit
>
Thanks to all for tips
@Graeme. I tried download tiOPS source but can't extract archive on
linux. I never had problems with compressed files on linux. Which
format is this? Can you send mi tiRTTI file via e-mail?
Thanks
2012/5/7 Graeme Geldenhuys :
> On 5 May 2012 18:15, Krzysztof wro
Hi,
ObjectBinaryToText method can save object structure to string, but how
save only some propertys? I could use RTTI and TypeInfo, but
ObjectBinaryToText can parse property hierarchy
(Propery1.Subproperty1.Color etc). Or how I can save and read object
from string without object name?
Example: I a
Hi,
Most of controls (or canvas) have font name "default". How to get
exact name of this font? There is
GetFontData(Button1.Font.Handle).Name function but it works on QT
widget set and on GTK not.
Regards.
___
fpc-pascal maillist - fpc-pascal@lists.fr
Hi,
I have some class with propertys:
type TMyClass = class
private
FProperty1: Boolean;
FProperty2: String;
procedure SetProperty2(AValue: String);
procedure ClassChanged;
public
property Property1: Boolean read FProperty1 write FProperty;
property Property2: String r
> It seems to me that you could compile qt4pas.c (or what ever the source
> file(s) of libqt4pas.so is) into a qt4pas.o and just link them
> statically with {$link qt4pas.o} which then would leave out the
> requirement for libqt4pas.so to be distributed with any program using
> the qt interface. Th
Just as I thought - it is object class thing. So if "FPC does not
(fully) support directly calling external C++ libraries" there are
plans to support it? This will be great
2012/1/29 Michael Van Canneyt :
>
>
> On Sun, 29 Jan 2012, Krzysztof wrote:
>
>> Hi,
>
Hi,
I am wondering. If I build application for linux using gtk2 widgetset
for GNOME (or XFCE etc.) and send this program to my friend, then he
can run it without any external librarys (of course if he have gnome
too), this same thing on windows. But why when I build application on
KDE interface I
Another problem. I know path to current icons, but icons are named
like "office-spreadsheet" not by extension and can be in svg format :/
. So it seems that I must include icons of popular extensions in my
application and do it by my self anyway.
2012/1/11 Krzysztof :
> This is e
This is exactly what I needed! Thanks to all
2012/1/11 cobines :
> Take a look at the unit here:
>
> http://doublecmd.svn.sourceforge.net/viewvc/doublecmd/trunk/src/platform/unix/uunixicontheme.pas
> --
> cobines
> ___
> fpc-pascal maillist - fpc-pasca
Hi,
I need to load icon associated by file extension. On windows I done
this by WinAPI function ExtractAssociatedIcon(). On linux is not so
easy, because we have GNOME, KDE, XFCE, LXDE etc, but I noticed that
icons are stored in this same place (like /home/[account]/.icons/ or
/usr/share/icons), s
I notify that synapse have some tools for timezone in synautil unit like:
{:Return your timezone bias from UTC time in minutes.}
function TimeZoneBias: integer;
{:Return your timezone bias from UTC time in string representation like
"+0200".}
function TimeZone: string;
I don't know that they are
Hi,
I had similar problem, I think that this is because consts are "filled" when
compiling and there is no way to change them at runtime. Try this trick with
pointers:
resourcestring
SSunday = "Sunday";
const
SWeek: array[0..0] of PString = (@SSunday);
begin
WriteLn(SWeek[0]^);
end;
Regards
Thanks :)
P.S. LCLPlatformDirNames is in InterfaceBase unit, not in LCLProc
2011/5/27 Mattias Gaertner
> On Fri, 27 May 2011 14:38:52 +0200
> Krzysztof wrote:
>
> > Thanks! Exactly what I needed. Is exists similar trick for get widgetset
> > type (QT, G
Thanks! Exactly what I needed. Is exists similar trick for get widgetset
type (QT, GTK)?
2011/5/27 Mattias Gaertner
> On Fri, 27 May 2011 13:18:11 +0200
> Krzysztof wrote:
>
> > Hi,
> >
> > I need friendly name of OS and processor type at runtime. I need this for
Hi,
I need friendly name of OS and processor type at runtime. I need this for
"user-agent" header in http client. Some kind of "Linux x86_64 Ubuntu/11.04"
("Linux x86_64" should be enough). "GetEnvironmentVariable" function does
not return anything interesting. I can build this string using compil
Hi,
I often write shared library (DLL and SO). With DLL I have no serious
problems, but with SO I often have "relocation R_X86_64_32S" error. If I use
lazarus standard packages (LCL, etc.) then is ok, but If I try to use some
external components (for example lNET, RichMemo) then I get this error.
95 matches
Mail list logo