Article View: comp.sys.mac.programmer.help
Article #50Re: AppleHelp.h / Carbon Call from Classic
From: meeroh
Date: Thu, 08 Nov 2001 05:25
Date: Thu, 08 Nov 2001 05:25
40 lines
2634 bytes
2634 bytes
In article <3BE9BFD8.36D7A2C2@vernier.com>, ccorbell <ccorbell@vernier.com> wrote: >The first is, in general, whether it's possible to call a >CarbonLib function from a pre-Carbon CFM app under 8.6+, >either directly or through some sort of shim library. No. In order to call Carbon you must be Carbonized. >CW7 includes many examples for crossing the Mach-o/CFM call >boundary with a Carbon app but I've never seen an example >of crossing the pre-Carbon/Carbon boundary from a pre-Carbon >app known to be running in a Carbon-enabled OS version. >Can I call CarbonLib functions if I find CarbonLib present, >even if I didn't link against it? No. >The second question is, what's the easiest way to support Apple >Help Viewer online help from a pre-Carbon CFM app; the >AppleHelp.h functions aren't available. I toyed with sending >an AppleScript command to the help viewer but didn't like the >results. There are a couple examples in the SDK & Sample Code >of using some sort of Apple Guide voodoo but the examples >all focus on populating the help menu, which I'm not >concerned about - I just need to launch specific help >URL's in the help viewer in different contexts. > >In pre-8.6 I use Internet Config to launch a >web browser to view html help files; from 8.6-9.x I need >to launch the Help Viewer but the only examples I've found >use the AppleHelp.h methods. The normal solution on older Mac OS is to lauch user's default browser using the InternetConfig API, rather than trying to muck with the help viewer. Is there a reason you insist on the help viewer? meeroh -- Hire me: <http://meeroh.org/hire.html>
Technical Details
Message-ID:
<macdev-1567F4.00250308112001@senator-bedfellow.mit.edu>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.bu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mailReferences:
<3BE9BFD8.36D7A2C2@vernier.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,446fa3c248a9833a X-Google-Attributes: gid10bcce,public X-Google-Thread: 101ec9,446fa3c248a9833a X-Google-Attributes: gid101ec9,public X-Google-ArrivalTime: 2001-11-07 21:25:06 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.bu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail From: meeroh <macdev@meeroh.org> Newsgroups: comp.sys.mac.programmer.help,codewarrior.mac Mail-Copies-To: poster Subject: Re: AppleHelp.h / Carbon Call from Classic Organization: MIT References: <3BE9BFD8.36D7A2C2@vernier.com> User-Agent: MT-NewsWatcher/3.1 (PPC) Date: Thu, 08 Nov 2001 00:25:03 -0500 Message-ID: <macdev-1567F4.00250308112001@senator-bedfellow.mit.edu> Lines: 40 NNTP-Posting-Host: TITANIUM-48.MIT.EDU X-Trace: 1005197103 senator-bedfellow.mit.edu 3930 18.101.0.199