Discussion:
#define MAP
(too old to reply)
Bill
2009-02-16 19:19:26 UTC
Permalink
I have a .hhp file with many Alias entries and
their corresponding #defines, as I use the API
for context help in my application(s). After a
very long absence from HTML Workshop, I
can't remember how to add a MAP entry.
When I click on the MAP tab, I have only
"Header File" and "Remove". No matter
what I enter in the "Header File", I get a
diagnostic message indicating it can't find
the file........whatever that means.

In my Alias entries, I follow the convention

IDH_FILE_Fxx=FileName.htm

and

the corresponding MAP would normally look
like:

#define IDH_FILE_Fxx xx

However, I've not been able to add the define
to the MAP section of my .hhp file. How does
one enter the #define corresponding to the
Alias?

Thanks,
Bill

I opened the .hhp file in NotePad and added
the define directly into the file. The .hhp file
compiled okay, so I guess that's an acceptable
way to add both Alias and MAP entries,
though it seems to me that the Workshop ought
to handle the additions.

Comments please?

Thanks,
Bill
Rob Chandler [MVP]
2009-02-17 17:00:51 UTC
Permalink
Bill you seem to be on the right track
http://helpware.net/htmlhelp/how_to_context.htm
I have never added Context info within Workshop.
Let me try... I see what you mean. Workshop does
have help you could read. Personally I prefer
using notepad for entering context info.
Rob
Post by Bill
I have a .hhp file with many Alias entries and
their corresponding #defines, as I use the API
for context help in my application(s). After a
very long absence from HTML Workshop, I
can't remember how to add a MAP entry.
When I click on the MAP tab, I have only
"Header File" and "Remove". No matter
what I enter in the "Header File", I get a
diagnostic message indicating it can't find
the file........whatever that means.
In my Alias entries, I follow the convention
IDH_FILE_Fxx=FileName.htm
and
the corresponding MAP would normally look
#define IDH_FILE_Fxx xx
However, I've not been able to add the define
to the MAP section of my .hhp file. How does
one enter the #define corresponding to the
Alias?
Thanks,
Bill
I opened the .hhp file in NotePad and added
the define directly into the file. The .hhp file
compiled okay, so I guess that's an acceptable
way to add both Alias and MAP entries,
though it seems to me that the Workshop ought
to handle the additions.
Comments please?
Thanks,
Bill
Bill
2009-02-17 17:49:39 UTC
Permalink
Thanks Rob, I too think NotePad is the way to
go. I can enter the Alias and on the next line create
the corresponding MAP aided by copy/paste to
minimize the possibility of typo's, then move the
new entry to the MAP section.
Thanks again.
Bill
Post by Rob Chandler [MVP]
Bill you seem to be on the right track
http://helpware.net/htmlhelp/how_to_context.htm
I have never added Context info within Workshop.
Let me try... I see what you mean. Workshop does
have help you could read. Personally I prefer
using notepad for entering context info.
Rob
Post by Bill
I have a .hhp file with many Alias entries and
their corresponding #defines, as I use the API
for context help in my application(s). After a
very long absence from HTML Workshop, I
can't remember how to add a MAP entry.
When I click on the MAP tab, I have only
"Header File" and "Remove". No matter
what I enter in the "Header File", I get a
diagnostic message indicating it can't find
the file........whatever that means.
In my Alias entries, I follow the convention
IDH_FILE_Fxx=FileName.htm
and
the corresponding MAP would normally look
#define IDH_FILE_Fxx xx
However, I've not been able to add the define
to the MAP section of my .hhp file. How does
one enter the #define corresponding to the
Alias?
Thanks,
Bill
I opened the .hhp file in NotePad and added
the define directly into the file. The .hhp file
compiled okay, so I guess that's an acceptable
way to add both Alias and MAP entries,
though it seems to me that the Workshop ought
to handle the additions.
Comments please?
Thanks,
Bill
CEE453
2009-02-22 14:55:00 UTC
Permalink
Microsoft reported a problem with adding map an alias files via HTML Workshop
in: http://support.microsoft.com/kb/188444/en-us
"BUG: Editing MAP or ALIAS in the HTML Help Workshop Causes Error"

Rob is right, it is best to handle the addition of map and alias entries by
text editing the project file.
--
Sid Penstone.
Post by Bill
Thanks Rob, I too think NotePad is the way to
go. I can enter the Alias and on the next line create
the corresponding MAP aided by copy/paste to
minimize the possibility of typo's, then move the
new entry to the MAP section.
Thanks again.
Bill
Post by Rob Chandler [MVP]
Bill you seem to be on the right track
http://helpware.net/htmlhelp/how_to_context.htm
I have never added Context info within Workshop.
Let me try... I see what you mean. Workshop does
have help you could read. Personally I prefer
using notepad for entering context info.
Rob
Post by Bill
I have a .hhp file with many Alias entries and
their corresponding #defines, as I use the API
for context help in my application(s). After a
very long absence from HTML Workshop, I
can't remember how to add a MAP entry.
When I click on the MAP tab, I have only
"Header File" and "Remove". No matter
what I enter in the "Header File", I get a
diagnostic message indicating it can't find
the file........whatever that means.
In my Alias entries, I follow the convention
IDH_FILE_Fxx=FileName.htm
and
the corresponding MAP would normally look
#define IDH_FILE_Fxx xx
However, I've not been able to add the define
to the MAP section of my .hhp file. How does
one enter the #define corresponding to the
Alias?
Thanks,
Bill
I opened the .hhp file in NotePad and added
the define directly into the file. The .hhp file
compiled okay, so I guess that's an acceptable
way to add both Alias and MAP entries,
though it seems to me that the Workshop ought
to handle the additions.
Comments please?
Thanks,
Bill
Bill
2009-02-22 23:53:24 UTC
Permalink
Yes indeed it is.
Bill
Post by CEE453
Microsoft reported a problem with adding map an alias files via HTML Workshop
in: http://support.microsoft.com/kb/188444/en-us
"BUG: Editing MAP or ALIAS in the HTML Help Workshop Causes Error"
Rob is right, it is best to handle the addition of map and alias entries by
text editing the project file.
--
Sid Penstone.
Post by Bill
Thanks Rob, I too think NotePad is the way to
go. I can enter the Alias and on the next line create
the corresponding MAP aided by copy/paste to
minimize the possibility of typo's, then move the
new entry to the MAP section.
Thanks again.
Bill
Post by Rob Chandler [MVP]
Bill you seem to be on the right track
http://helpware.net/htmlhelp/how_to_context.htm
I have never added Context info within Workshop.
Let me try... I see what you mean. Workshop does
have help you could read. Personally I prefer
using notepad for entering context info.
Rob
Post by Bill
I have a .hhp file with many Alias entries and
their corresponding #defines, as I use the API
for context help in my application(s). After a
very long absence from HTML Workshop, I
can't remember how to add a MAP entry.
When I click on the MAP tab, I have only
"Header File" and "Remove". No matter
what I enter in the "Header File", I get a
diagnostic message indicating it can't find
the file........whatever that means.
In my Alias entries, I follow the convention
IDH_FILE_Fxx=FileName.htm
and
the corresponding MAP would normally look
#define IDH_FILE_Fxx xx
However, I've not been able to add the define
to the MAP section of my .hhp file. How does
one enter the #define corresponding to the
Alias?
Thanks,
Bill
I opened the .hhp file in NotePad and added
the define directly into the file. The .hhp file
compiled okay, so I guess that's an acceptable
way to add both Alias and MAP entries,
though it seems to me that the Workshop ought
to handle the additions.
Comments please?
Thanks,
Bill
Loading...