Unable to view chm - claims it's already open

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.
Post Reply
Andrew Heard
Sr. Propeller Head
Posts: 139
Joined: Tue Aug 19, 2008 12:17 am
Location: Perth, Western Australia

Unable to view chm - claims it's already open

Post by Andrew Heard »

Any ideas?

I build a HTML target (no errors)
I view the target
I close the chm window
I click Close to exit the Flare build report window
I click view primary (or r-click > View from the Targets folder)
I get this message:
chm_Already_Open_Error.png
As far as I can see the only process that runs with the chm viewer open is hh.exe. This is not running when I get the error message in Flare.
You do not have the required permissions to view the files attached to this post.
Some mornings it just doesn't seem worth it to gnaw through the leather straps.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Unable to view chm - claims it's already open

Post by RamonS »

Does the file exist in that location? If yes, is it write protected? If not, can you exclude that folder from real-time virus scanning and try again? Does that still happen after a reboot?
Andrew Heard
Sr. Propeller Head
Posts: 139
Joined: Tue Aug 19, 2008 12:17 am
Location: Perth, Western Australia

Re: Unable to view chm - claims it's already open

Post by Andrew Heard »

Thanks, Ramon.

Yes, it was rendered read-only by source control.

I was a bit too quick to the forum that time.
Some mornings it just doesn't seem worth it to gnaw through the leather straps.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Unable to view chm - claims it's already open

Post by RamonS »

Happens to me all the time. I write a post or email, and either while doing that or shortly after I figure out what is going on. I wonder why you have the CHM in source control. It is not a source file.
alaltenburg
Sr. Propeller Head
Posts: 342
Joined: Mon Nov 03, 2008 9:33 am
Location: The heart of America

Re: Unable to view chm - claims it's already open

Post by alaltenburg »

I don't know about Andrew, but I have my .chm files in Source Control in a different location than the source files because I have to put them in the folder where the company software is kept within source control.
The Moon is the first milestone on the road to the stars.

— Arthur C. Clarke
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Unable to view chm - claims it's already open

Post by RamonS »

Source control should only include sources. I doubt that the binaries of the application are in source control. Everyone can do whatever works best with for their situation, but I never really understood the need of bloating source control and wasting resources with something that is easily recreated. Due to the moronic way of Flare handling command line compiles there may be practical reasons (nobody installs a fully licensed app on a build box just to compile something), but the less non-source files are in source control the better it is.
Andrew Heard
Sr. Propeller Head
Posts: 139
Joined: Tue Aug 19, 2008 12:17 am
Location: Perth, Western Australia

Re: Unable to view chm - claims it's already open

Post by Andrew Heard »

Files used as the source for the application build are picked up from the Perforce server; they are therefore revision-dependent and store the revision history of each chm build and each application build. This includes the documentation files: readme, manuals, diagrams etc.
Some mornings it just doesn't seem worth it to gnaw through the leather straps.
Post Reply