Re: [Lazarus] Can't get rid of heaptrace!

2014-07-11 Thread Reinier Olislagers
On 11/07/2014 04:06, Donald Ziesig wrote:
 I have a program that was working correctly.  I used heaptrc to get it
 that way:-) . Unfortunately, when I removed heaptrc from the uses clause
 in the project the program no longer starts.  Before the very first form
 is displayed, I get a SegFault in
 HEAPTRC_TRACEFREEMEMSIZE$POINTERS$QWORD$QWORD : 0077F7CA
 488b00   mov(%rax),%rax
 
 I checked the project options and the use heaptrc box is unchecked. 
Have you tried clean  rebuild? In project options, if you press the
show options button, can you verify that there's no -gh option?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazreport with PostgreSQL

2014-07-11 Thread Allan E. Registos
Hi, 

Does anybody have a working lazreport + postgreSQL ? 
I am having trouble both 32-bit(winxp) with postgresl lib client present on the 
same program directory and in 64-bit win7. 
It cannot find libpq.dll. 

Thanks  regards, 
Allan 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Active NoGui LCL Widget Type

2014-07-11 Thread Michael Schnell

On 07/10/2014 09:58 PM, Sven Barth wrote:


You should not need to use the thread manager. All functions (except 
the semaphore ones which are only implemented for cthreads) should be 
available by RTL functions. So don't use GetThreadManager if you don't 
need to.


For a primary test I did e.g.:

  if GetThreadManager(CurrentThreadManager) then begin
CurrentBasicEventCreateHandler:=CurrentThreadManager.BasicEventCreate;
  end;
  if Assigned(CurrentBasicEventCreateHandler) then begin
CurrentBasicEventCreateHandler(EventPointer, False, False, 
'TestEvent');   /nonsense call to a BasicEventCreateHandler 
function

  end;


Could you show me how to do an arch/OS independent call to the function 
that at runtime is pointed to by CurrentBasicEventCreateHandler.


Thanks,
-Michael

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazreport with PostgreSQL

2014-07-11 Thread Eduardo Lopez

Hi Allan.

You must install: Visual C++ 2008 Redistributables

Eduardo.

El 11/07/2014 05:19 a.m., Allan E. Registos escribió:

Hi,

Does anybody have a working lazreport + postgreSQL ?
I am having trouble both 32-bit(winxp) with postgresl lib client 
present on the same program directory and in 64-bit win7.

It cannot find libpq.dll.

Thanks  regards,
Allan



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



---
Este mensaje no contiene virus ni malware porque la protección de avast! 
Antivirus está activa.
http://www.avast.com


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Can't get rid of heaptrace!

2014-07-11 Thread Donald Ziesig
Fixed the problem.  My primary library somehow got compiled with 
heaptrc.  I couldn't find any way of removing heaptrc from the library 
so I created a new package, copied the source files into it, compiled it 
and added it back into the project.  Program runs fine now without 
heaptrace.


Thanks for the pointers.

Don Z

On 07/11/2014 02:47 AM, Reinier Olislagers wrote:

On 11/07/2014 04:06, Donald Ziesig wrote:

I have a program that was working correctly.  I used heaptrc to get it
that way:-) . Unfortunately, when I removed heaptrc from the uses clause
in the project the program no longer starts.  Before the very first form
is displayed, I get a SegFault in
HEAPTRC_TRACEFREEMEMSIZE$POINTERS$QWORD$QWORD : 0077F7CA
488b00   mov(%rax),%rax

I checked the project options and the use heaptrc box is unchecked.

Have you tried clean  rebuild? In project options, if you press the
show options button, can you verify that there's no -gh option?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus