Results 1 to 4 of 4

Thread: File Problem

  1. #1
    Join Date
    Jun 2007
    Posts
    47

    File Problem

    My project uses 6 files, some of the files are used in more than one unit so i put all 6 in a unit of there own (UNTFile) i went throught the project making sure all files where now UNTFile.Myfile1.. the problem now is that i get 'invalid filename' message on the reset/rewrite line of my code, not on the assign lines tho, the message pops up at runtime, the project compiles, i dont know what the problem is.

    There is no red underlines to indicate a spelling miskate btw.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    3,774
    The red squiggles arent infalable.

    However, with no real error message and no example code, Im going to suggest its something to do with your reset/rewrite line thats the problem, in that in your UNTFile you have made some form of omission.
    Delphi !ROCKS!
    Got a question? Read this first!!!
    "You gotta help us, Doc. We've tried nothin' and we're all out of ideas"

  3. #3
    Join Date
    Jun 2007
    Posts
    47
    Whoops.. Files was on G: i had it looking for files on E:

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    3,774
    hehe, well at least you worked it out.
    Delphi !ROCKS!
    Got a question? Read this first!!!
    "You gotta help us, Doc. We've tried nothin' and we're all out of ideas"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •