[lazarus] Patches to Shanes files
Michael A. Hess
mhess at miraclec.com
Thu Jul 8 12:54:50 EDT 1999
P Jean dit Bailleul wrote:
>
> Well perhaps a solution which is not the best one but...
>
> newpchar := StrAlloc(Length(StringVar)+1);
> For i:=1 To Length(AString) Do
> NewPChar[i - 1]:=AString[i];
> NewPChar[Length(AString)]:=#0;
>
> If does not work, you'l be in big troubles!
Oh we did that one last night. It worked correctly for the StrPCopy but
then we get an exception out of a gtk routine. It solved it but doesn't
explain what is the root of the problem.
--
==== Programming my first best destiny! ====
Michael A. Hess Miracle Concepts, Inc.
mhess at miraclec.com http://www.miraclec.com
More information about the Lazarus
mailing list