Re: [fpc-pascal] GDBServer

2017-06-01 Thread Dimitrios Chr. Ioannidis via fpc-pascal

Hi,

Στις 2017-06-01 18:14, Sven Barth via fpc-pascal έγραψε:

Am 01.06.2017 16:49 schrieb "Dimitrios Chr. Ioannidis via fpc-pascal"
:
 >
 > Hi,
 >
 >   I'm trying to "convince" gdbserver ( not gdb ) to attach to a
windows service, but I'm always get the "Attach to process failed
(error 5): Access is denied. " .
 >
 >   Did anyone succeed to use gdbserver ( not gdb ) to attach a
window service ?

Are you running gdbserver as Administrator or as the same user as the
service?



I tried runas /user:administrator the gdbserver with no luck. I changed 
the window service to logon from local system account to a local user 
with administrator rights and tried to execute the gdbserver with runas 
with the same user with no luck also .


Doesn't work in win10 or winxp . I even try to run gdbserver in multi 
remote-extended mode, same behavior .


Tried with the alternatives gdb and gdbserver 7.7.1 from lazarus 

It's frustrating .

regards,


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

Re: [fpc-pascal] GDBServer

2017-06-01 Thread Sven Barth via fpc-pascal
Am 01.06.2017 16:49 schrieb "Dimitrios Chr. Ioannidis via fpc-pascal" <
fpc-pascal@lists.freepascal.org>:
>
> Hi,
>
>   I'm trying to "convince" gdbserver ( not gdb ) to attach to a windows
service, but I'm always get the "Attach to process failed (error 5): Access
is denied. " .
>
>   Did anyone succeed to use gdbserver ( not gdb ) to attach a window
service ?

Are you running gdbserver as Administrator or as the same user as the
service?

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

[fpc-pascal] GDBServer

2017-06-01 Thread Dimitrios Chr. Ioannidis via fpc-pascal

Hi,

  I'm trying to "convince" gdbserver ( not gdb ) to attach to a windows 
service, but I'm always get the "Attach to process failed (error 5): 
Access is denied. " .


  Did anyone succeed to use gdbserver ( not gdb ) to attach a window 
service ?


regards,

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

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-01 Thread Stefan V. Pantazi

Have a look at the agg_2D unit. The agg_2D uses
..
 agg_pixfmt ,
 agg_pixfmt_rgba ,
..

Therefore, the rgba format is pretty much baked in. That is to say that 
the constructor of the main object Agg2D uses the pixfmt_rgba32 to set 
the pixel format.


...
{ CONSTRUCT }
constructor Agg2D.Construct;
begin
 m_rbuf.Construct;

 pixfmt_rgba32   (m_pixFormat ,@m_rbuf );
 pixfmt_custom_blend_rgba(m_pixFormatComp ,@m_rbuf 
,@comp_op_adaptor_rgba ,rgba_order );

 pixfmt_rgba32   (m_pixFormatPre ,@m_rbuf );
 pixfmt_custom_blend_rgba(m_pixFormatCompPre ,@m_rbuf 
,@comp_op_adaptor_rgba ,rgba_order );

...

There is another agg unit agg_pixfmt_rgb_packed that seem to have the 
565 format that you need. Add it to the uses list and try to replace the 
pixfmt_rgba32 calls with pixfmt_rgb565. That will make agg use that format.


The pixfmt_custom_blend_rgba calls may need further hacking too to make 
things work, however, Agg2D should use a 16 bit format if you use 
pixfmt_rgb565 callse instead of pixfmt_rgba32. You should also set 
RGBA_Width =2; in your program to reflect the change.


Anyway, this will probably still not make

ptcgraph.putimage(0,0,buf[0],0);

work, but that may be a ptcgraph problem.


Hope this helps,

Stefan

On 05/31/2017 02:57 PM, James Richters wrote:

And AggPas already has support for that pixel format


How do I define that as the format I want?  I've been looking all through the 
example and do not see how this is defined.  I've attached a test program, it's 
basically Graeme's sample but going to screen instead of a file.  I just don't 
see where the pixel format is defined.  I have it kind of working in a funny 
way by just forcing the existing pixels to conform to the required format.

-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of 
Graeme Geldenhuys
Sent: Wednesday, May 31, 2017 1:17 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Implementing AggPas with PtcGraph

On 2017-05-31 18:03, Reimar Grabowski wrote:

I'm not sure what that's called

RGB565, maybe?


And AggPas already has support for that pixel format.

Regards,
   Graeme

___
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 maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] [fpc-devel] Mantis/Bugtracker registrations fixed

2017-06-01 Thread Martin

On 31/05/2017 15:50, Karoly Balogh (Charlie/SGR) wrote:

Hi,

We had numerous reports over the past few weeks, that the FPC/Lazarus
Bugtracker registration verification was broken. Thanks to the work of
Michael van Canneyt, it should be fixed now.

If you had trouble creating a bugtracker account in the last few weeks,
please try again now.



Hi it seems there are still problems, maybe just for individual users...
http://forum.lazarus.freepascal.org/index.php?topic=36888.msg248016#msg248016

But unfortunally I now get this message, when I try to reset my password:
"APPLICATION ERROR #1905
Maximum number of in-progress requests reached. Please contact the 
system administrator."


If I would only know how to contact the administrator


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