Member No.: 24334
Joined: 10-July 09
Now I'm now getting different return codes when saving the exact same content to two (2) different files. The save to the first file returns 0. This is the return code I've always received for all file saves regardless of whether the save worked or not. The save to the second file returns 1. I have never received this return code for any reason. Both files were saved successfully and both files contain the exact same value (bit for bit comparison).
I started getting this odd result when testing new code to do a block move on a HiEdit control which uses the following messages: GetSel (2), LineFromChar (2), LineIndex, GetTextRange, LineIndex, LineLength, SetSel (3), and ReplaceSel.
It would be very helpful if the HEM_SAVEFILE message returned a meaningful return code.
Thank you for your consideration.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)