Re: [fpc-devel] 3.0.4 and Windows 64

2018-10-02 Thread Ozz Nixon
Following the code further along, I am storing the COMP to disk... if I change to INT64, it is not storing the same value as the COMP field was. Any suggestions? Also, this part of the project is for dBase.com and Visual FoxPro compatibility. So, I cannot go off reservation. Why exactly is FPC WIN

Re: [fpc-devel] Porting from Delphi to FPC - challenge #2.

2018-10-02 Thread Ozz Nixon
Got it, thanks! On Tue, Oct 2, 2018 at 7:57 AM Denis Kozlov wrote: > PChar is a typed pointer, so you need to point it to the memory location > of TmpBugStr using the "@" operator, like so: > > const >TempString : PChar = @TmpBugStr; > > > On 01/10/2018 13:18, Ozz Nixon wrote: > > Type >

Re: [fpc-devel] Porting from Delphi to FPC - challenge #2.

2018-10-02 Thread Denis Kozlov
PChar is a typed pointer, so you need to point it to the memory location of TmpBugStr using the "@" operator, like so: const    TempString : PChar = @TmpBugStr; On 01/10/2018 13:18, Ozz Nixon wrote: Type Line:Array[0..127] of Char; Var TmpBugStr:Line; {later in the code} Const    TempString