Steph and Doug--Thanks a million--you were absolutely right. For reasons that I do not understand, my mainform, Pform didn't exist! Following your suggestion, I checked its pointer (which by the way is accessible under the Run/Evaluate option). I really don't know why it had a NIL pointer...
This is crazy. I'm trying to change the caption on a label (class TLABEL) using a qualified name; e.g. Pform.hitNo.caption := 'trial' where Pform is the name of the form in which the label hitNo occurs. Pform is declared as type TPform inside a Main Form in a Unit called Partition. The Access...
Hi McMerfy
The pointers were standard Pascal pointers specified as to type in a TYPE statement and created with the NEW operation.
l
Indeed the files were propely cosed using CloseFile before the delete and rename operations were applied.
Has anyone run into conflicts between pointers and certain file operations in Delphi 3.0? I was unable to use file procedures/functions ERASE, DELETEFILE, RENAME and RENAMEFILE after I invoked code involving manipulation of pointers. I was using a two-way linked list for sorting complex data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.