I am trying to call a help file (in Apple Help Viewer a
simple .html file ) from PPC Mac OS X Project Type is Executable.
Earlier I was able to call this file using following
code when project type was : Application package. since it is carbon
app i register my help book, and also made some changes in property
list file as follow and put help file folder under application package.
key "CFBundleHelpBookFolder" value string "MY Help Book"
key "CFBundleHelpBookName" value string "MY Help Book"
//the following code just open help viewer but does not show my help
file even though i did
//change in meta tag of the main html file ( in this case
CFStringRef bookname =CFSTR("MY Help");
CFStringRef path =
OSStatus mystat =
AHGotoPage(bookname, path, 0);
Now, I am wondering since it is Executable ( doesnt have package
folder ) so where should i keep my help file folder and how can i
call my help file(.html files) from outside of the application. The
same problem occure with my application icon also, it goes for toss
change my project type from Application package to Executable. How can
solve this problem ?
Thanks in advance.