[DUG] RFID - EAccess violation

Marshland Engineering marshland at marshland.co.nz
Thu May 28 11:33:32 NZST 2015


Thanks for the replies.

this is the line

>   receive:=API_PCDRead(0,0,$00,10,1,key,bufferr);

I'm way out my depth with the workings of this function. I just do simple
coding - A ex dBase3 programmer. 

I took the sample code that the RFID supplier gave, stripped off everything I
didn't need other than the read line for RFID card and then copied the bits
into my program which now crashes. 

I was wondering if the XPMENU call or something like that is interfering with
other modules ?

My debugging is limited to finding the line with the error. 

Both programs are run in Delphi 6, same machine and same environment. 

I can't find how to code this, where ever I put it, it crashes. - Expected
expression but ARRAY found. 

   const
     KEY = array[0..6] of Byte = ($FF,$FF,$FF,$FF,$FF,$FF,$00);

Thanks Wallace.




More information about the Delphi mailing list