leledumbo wrote:
>use the following unit:
>
>unit StringMyObjectMap;
Thanks,
That is a pretty advanced piece of generics, I found the fpc sources
together with the hasmapexample. I'm afraid i need to play to get
comfortable with generics g> but it will get me on my way..
(Sorry I had some t
Sven Barth wrote:
>But I now remember that we added an OwnsObjects property to
>TStringList some time ago...
Magic, I honestly have to admitt I was not aware of that, thanks!
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.free
dmitry boyarintsev wrote:
>function GetMyObject(dic: TStrings; const nm: string): TMyObject;
It is one of the few solutions to share the code between delphi and fpc
(and yes, i would probably encase it in another class to hide the
typecasting). Still need to figure out how hashing compare to
stri
Marco van de Voort wrote:
>
>There is fgl.tfglmap and variants.
Thank you Marco,
I was aware of this class but have to study it more nefore using it..
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/
waldo kitty wrote:
i would attempt to go portable by performing a DNS lookup on the address
and or the given host name... i don't think i would try to use external
programs for this but would compare my results with theirs for the same
lookups...
Agreed. I rarely use external programs since
On 4/9/2013 14:10, Tomas Hajny wrote:
On Tue, April 9, 2013 19:51, waldo kitty wrote:
On 4/9/2013 04:24, Tomas Hajny wrote:
.
.
Have you tried using unit netdb from package fcl-net? It doesn't support
Windows (and some other platforms yet), but it should work for Unix
targets. I believe th
On Tue, April 9, 2013 19:51, waldo kitty wrote:
> On 4/9/2013 04:24, Tomas Hajny wrote:
.
.
>> Have you tried using unit netdb from package fcl-net? It doesn't support
>> Windows (and some other platforms yet), but it should work for Unix
>> targets. I believe that the two approaches for finding
On 4/9/2013 05:09, Mark Morgan Lloyd wrote:
Ludo Brands wrote:
On 04/09/2013 10:14 AM, Mark Morgan Lloyd wrote:
It might be notable that Debian doesn't volunteer a domain name unless
it's able to contact DNS. I'll get onto nslookup, or just use temporary
text (it's only salt for a password has
2013/4/7 Reinier Olislagers
> Apart from that, the wiki already has a huge list of components etc. If
> dpcrypt on Laz CCR is missing, it should be added.
>
You can find it at:
http://wiki.lazarus.freepascal.org/DCPcrypt
Vincent
___
fpc-pascal maillist
On 4/9/2013 04:24, Tomas Hajny wrote:
On Tue, April 9, 2013 10:14, Mark Morgan Lloyd wrote:
waldo kitty wrote:
i note that both, GetDomainName and GetHostName both use the same var
(Sysn : utsname) but just different fields in what is apparently a
record of some type...
[TRIM]
It might be n
On 4/9/2013 04:14, Mark Morgan Lloyd wrote:
It might be notable that Debian doesn't volunteer a domain name unless it's able
to contact DNS. I'll get onto nslookup, or just use temporary text (it's only
salt for a password hash, and is stored).
understood... your nslookup output looked fine to
Ludo Brands wrote:
On 04/09/2013 10:14 AM, Mark Morgan Lloyd wrote:
It might be notable that Debian doesn't volunteer a domain name unless
it's able to contact DNS. I'll get onto nslookup, or just use temporary
text (it's only salt for a password hash, and is stored).
One of the problems wit
On 04/09/2013 10:14 AM, Mark Morgan Lloyd wrote:
>
> It might be notable that Debian doesn't volunteer a domain name unless
> it's able to contact DNS. I'll get onto nslookup, or just use temporary
> text (it's only salt for a password hash, and is stored).
>
One of the problems with uname is t
Tomas Hajny wrote:
On Tue, April 9, 2013 10:14, Mark Morgan Lloyd wrote:
waldo kitty wrote:
.
.
diggin in, i note that it seems to use the system's uname function...
but i think that is different than the command line "uname" or "uname
-a" because none of my linux machine return their FQDN i
On Tue, April 9, 2013 10:14, Mark Morgan Lloyd wrote:
> waldo kitty wrote:
.
.
>> diggin in, i note that it seems to use the system's uname function...
>> but i think that is different than the command line "uname" or "uname
>> -a" because none of my linux machine return their FQDN in this output
waldo kitty wrote:
[crystalball] get nslookup working first. your code should work.
[/crystalball]
OK, that's no big deal. But it looks like GetDomainName() doesn't
quite do what
it says on the can :-)
agreed... i was just looking around on my FPC 2.6.0 install and note the
following from
16 matches
Mail list logo