Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Invalid file descriptor'

Status
Not open for further replies.

Mack

Programmer
Mar 14, 2000
4
US
after modifying some screens I recompiled an exe and in another part of the program I receive the above error message. the program will then end. If I do not go to that menu item all other sections work. the section that fails is where we enter data paths that update a .mem file.
 
This is a wild shot in the dark but it sounds like a database with a memo file has been trashed out the the memo file needs a rebuild.<br>

 
MAck,

have you solved the problem? I have the same issue, but I cannot solve it rebuilding the .MEM
 
I've had to fix this by recreating the .DBF file and giving one of the fields a different name. You can see which one it is by <Shift><Tab>ing backwards through the fields by issuing a 'Browse' of the table from a command window.

Dave S.
 
I found that the problem was that I added the .MEM file into the project file list, so when the .exe program is trying to save, it looks and find first the .MEM file INTO the .EXE file (what of course is read-only) rather than the external file.

The solution was to delete the .MEM files from the project file list and rebuild the EXE.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top