Jump to content
Macro Express Forums

MEX file contents mystery


Recommended Posts

While trying to track down a problem I opened my current working file FULL.MEX in Hex Workshop Editor (with ME Pro closed) to search for a string of text. I was very surprised to find fragments of macro names in it that have long since been deleted in ME Pro. How can this arise please? Surely the MEX file should not keep obsolete entries?

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

When changes are made in data files often the new chunk is bigger and can't fit in the old hole so the program will stick it on the end and simply ignore the old section. Then at periodic intervals the program will rewrite the file from scratch to reduce size and validate it's structure. Database files are infamous this way and for this reason often have to be "Compacted and Repaired" often reducing size to a fraction. I'm guessing MEP does the same and you caught it in between. Did the references still remain after you used the Pack command? Tools > Pack.

Link to comment
Share on other sites

When changes are made in data files often the new chunk is bigger and can't fit in the old hole so the program will stick it on the end and simply ignore the old section. Then at periodic intervals the program will rewrite the file from scratch to reduce size and validate it's structure. Database files are infamous this way and for this reason often have to be "Compacted and Repaired" often reducing size to a fraction. I'm guessing MEP does the same and you caught it in between. Did the references still remain after you used the Pack command? Tools > Pack.

 

Thanks Cory, understood. I'll try Tools > Pack and study the file again.

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...