Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > OOP Powerplant for Mac > Calling Help Fi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 420 of 483
Post > Topic >>

Calling Help File from Executable Project Type using Powerplant

by "Neel" <nilesh.khemkar@[EMAIL PROTECTED] > Aug 30, 2005 at 07:12 AM

Hi,
          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
"LinkPage.htm")
  case cmd_Help:
   {
                        CFStringRef bookname =CFSTR("MY Help");
                        CFStringRef path =
CFSTR(":LinkPage.htm");
                        OSStatus mystat =
AHGotoPage(bookname, path, 0);
                         break;
   }

 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
after i
change my project type from Application package to Executable. How can
solve this problem ? 

Thanks in advance.
 




 1 Posts in Topic:
Calling Help File from Executable Project Type using Powerplant
"Neel" <nile  2005-08-30 07:12:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 19 23:43:20 CDT 2008.