[fpc-pascal] fp libraries do not like cmem ?

Fred van Stappen fiens at hotmail.com
Fri Feb 14 20:28:41 CET 2014


>What I have been wondering for some time now (perhaps you wrote it in a
>mail and I missed it): do you use the same memory manager in the library
>and in your test program?

Oops, indeed i forget that point...
The test now are with cmem only in program, not in library.

I will test with cmem into library too...

>The example here might be extremely over-simplified, but replace
> `a: Integer` with `mystring: String` and we're roughly at your example.

Hum, absolutely, it is the same example... 
So, how must i do to use PChar ?

Many thanks.

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140214/f3eff06d/attachment.html>


More information about the fpc-pascal mailing list