Log in

No account? Create an account

Previous Entry | Next Entry

Semagic - New Features

weather: sunny
outside: 21.2°C
mood: ...
The latest userinfoSemagic (version can supposedly store and retrieve settings from an INI file. I thought this was fantastic because that meant I didn't have to manually go into the Windows registry and export the Semagic settings myself to keep a backup of my macros, window positions and other settings. I could foresee this being a great time-saver when I install Semagic again with a new machine or laptop.

But, it gives me a pop-up error instead. =P

Status: Fixed, awaiting next build for verification.

Repro Steps:

  1. Log in to Semagic as "bride" with my password.
  2. Go to View->Options.
  3. Go to the General tab.
  4. Select the "Use .ini file to store settings" tickybox.
  5. Click "OK".

Expected: an INI file written to my C:\Program Files\Semagic installation folder named "settings.ini" or something that makes sense like that.

Actual: No INI file for the settings created. This error appears.


  • Environment - [Semagic version; MFC 6.0; WTL 7.5; WinXP Home, SP2; Pentium M, 2GHz, 1G RAM]
  • I installed successfully, therefore I MUST have write access to the installation folder.
  • Turning on the "Debug" option does not give any info. It looks like "Debug" is only for LJ Client/Server Protocol debugging.
  • With the "Use ini file" setting turned on, Semagic is very clearly getting the settings from somewhere other than the registry. Some of my Semagic window sizes and positions are different... but I unselected the Use INI File option again before it ruined any more of my settings.
  • From attaching FileMon, there is no output during or after the time the error message comes up, so Semagic is not even getting to that point.
  • Also from inspecting the source code, the error message "an unnamed file contains an invalid path" does not actually exist in the Semagic source. But it doesn't sound like it's coming from MFC or anything deeper either. I could be wrong on this...



( 7 comments — Leave a comment )
Aug. 27th, 2006 10:41 pm (UTC)
Filemon is great for solving problems like this.
Aug. 27th, 2006 10:52 pm (UTC)
Hey, thanks for that... I think I could actually use something like FileMon at work.

But it's not helping me with this issue though. The problem occurs before FileMon can see it (ie. I think it's an error with creating the file handle itself).
Aug. 27th, 2006 10:59 pm (UTC)
AFAIK, if you ticky all the ticky boxes, it will even intercept the call to CreateFile(Ex) that creates the file handle. There could be something else going on, though.
Aug. 27th, 2006 11:09 pm (UTC)
I'm not sure... I log in to Semagic and get a whole bunch of stuff I expect.

Then I change the setting, nothing in FileMon. I see the error pop-up, nothing in FileMon. I change the setting back, nothing in FileMon.
Aug. 27th, 2006 10:48 pm (UTC)
I could foresee this being a great time-saver when I install Semagic again with a new machine or laptop.

I think this is quite funny, given how much the Registry was touted as superior to .ini files when it was introduced.
Aug. 27th, 2006 11:00 pm (UTC)
*snorf* Well, the registry is supposed to be a lot faster than the .ini file. =}
Oct. 20th, 2006 10:34 am (UTC)
Wow. This is 'nerdy'.

Macros for your LiveJournal entries.

I made a macro, once, in uedit32. I forget what it was for. I mostly just type everything.. but I'm not really a coder. Just do some things in perl, c, php when I need it. I really *hate* programming.

Also 'nerdy' is the bug report (if that's you that filled it out, ja?).

*continues browsing tagged entries*
( 7 comments — Leave a comment )


The Bride of the First House

Latest Month

March 2015