Re: [fpc-pascal] Libxml2 - How to get messages on Linux?

2018-05-23 Thread Gabor Boros

Same problem with Win64. So not Linux specific.

Gabor

2018. 05. 22. 10:06 keltezéssel, Gabor Boros írta:

Hi All,

I need to accomplish validate XML files with an XSD. Found libxml in 
packages and works as expected with Win32. But I have problem with 
messages on Linux 64bit. Got %s instead the real message text. I use the 
below code to get the messages. Any idea why not works with Linux64 bit?


var
   SL_Warning,SL_Error:TStringList;

procedure SchemaValidityWarningFunc(ctx: Pointer; const msg: PChar);
begin
   SL_Warning.Add(msg);
end;

procedure SchemaValidityErrorFunc(ctx: Pointer; const msg: PChar);
begin
   SL_Error.Add(msg);
end;

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

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

[fpc-pascal] FPC code to migrate Outlook PST file to MBOX format?

2018-05-23 Thread Bo Berglund
Hi,
I need to switch away from using Outlook 2003 to something sensible
like Thunderbird. But when I do I need to keep my mail archive, which
is stored in multiple very big PST files, each organized in a
folder-subfolder tree. It covers the time from about 1998 to now..

I have tried to find some working converter software available on
line, but I have failed. Tried a few but they seem to lack the ability
to handle the internal folders of a PST file.
One in particular show the full structure of the PST file I select for
conversion so it looks like it would work. But in the end there is
only a flat view of email in Thunderbird when I use the created MBOX
file.

So now I wonder if there is some FPC code around that I can tailor to
my needs? It seems a pity that the PST -> MBOX conversion should be
such a problem

The files are real big so I think I will need the 64 bit capability of
fpc, which I have installed on my laptop.


-- 
Bo Berglund
Developer in Sweden

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