The Hexeditor project - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Utilities (https://staging.qb64phoenix.com/forumdisplay.php?fid=8) +---- Thread: The Hexeditor project (/showthread.php?tid=805) |
RE: The Hexeditor project - bplus - 04-26-2023 (04-26-2023, 10:09 PM)eoredson Wrote: So the OK/Cancel box at the splash screen is in an endless loop?? The code is gone man! Yours and I deleted mine last night. From what I remember it tried to create a folder under C:\Programs called "Hexedit" and in that folder write the config file but the folder never got made and so the config file could not be written. Whenever that occurs in your program that is when things failed. It had to be near startup of program because I never got quizzed what file I wanted to see in HexEdit. C:\Programs\HexEdit does not exit in my system. RE: The Hexeditor project - eoredson - 04-27-2023 Ok, this version is where I am using the default directory to store the config file and restored the file menu box and removed the startbox.. See if this changes anything. Thanks, Erik. RE: The Hexeditor project - mnrvovrfc - 04-27-2023 Never mind, took another look at this program... was going to say the following and much more: It's because around line #4124 of this program, in "ReadConfigFile" subprogram, this program uses ENVIRON$() like crazy to obtain configuration. Only the beginning of it asks for like 10 variables set LOL. One thing that it does is create a "C:\TEMP" if it doesn't exist, to hold some temporary files. The save or open file requester should begin in the user area, not "Program Files", to make life easier for most people. It looks like the "GetConfigFileName" subprogram is hardwired to start the dialog into "Program Files". On 64-bit this would never go into the 32-bit directory, that's why it's not advised to start there or anywhere Windows wants to put a "smart screen" on the user. RE: The Hexeditor project - bplus - 04-27-2023 What's mnr talking about? There is only one download, has to be me Because latest compiles and quizzes me for file to load: The config is stored with source and exe, perfect place IMHO. RE: The Hexeditor project - mnrvovrfc - 04-27-2023 Made you look. Was trying to help square away stuff but I guess I arrived too late. RE: The Hexeditor project - eoredson - 04-27-2023 (04-27-2023, 12:21 AM)mnrvovrfc Wrote: Never mind, took another look at this program... was going to say the following and much more: I said: GetConfigFilename$ is no longer in use! I just had not deleted it yet... RE: The Hexeditor project - eoredson - 04-27-2023 Therefore, ReadConfig and WriteConfig are putting Hexedit?.cfg in the default directory you have loaded it from where the ? is the node 0-9 Removes CreateFile and CreateFileA from library function declarations, and rolls back from dialog box to old file menu box.. Apparently CreateFile either does not exist in QB64-64 (as opposed to 32 bit) or I got the parameters wrong!? Erik. RE: The Hexeditor project - eoredson - 04-27-2023 Finally, I have moved the ansi splash screen and messagebox above the main file loop. This finishes this project for awhile. Code: (Select All) v8.0a rE.0a updates 04/20/2023: Erik. RE: The Hexeditor project - eoredson - 08-28-2023 Hi, I have decided to bump this project to the top. It contains some critical bug fixes: Code: (Select All) v8.0a rM.0a updates 08/15/2023: And is attached here: RE: The Hexeditor project - Dav - 08-28-2023 Another nice update to this great hex editor, the best one in QB64 I've seen. This is worthy to download even just to have the API stuff to see how to use them. - Dav |