Subject: [LM] Re: trying to add linkmaster support
From: Ben Darnell (bgdarnel@unity.ncsu.edu)
Date: Mon Sep 20 1999 - 13:32:33 EDT
On Thu, Sep 16, 1999 at 06:23:34PM -0400, Tom Dyas wrote:
> If any of you LinkMaster guys could take a look at what I am doing wrong,
> I would be grateful. URL is:
>
> ftp://vger.rutgers.edu/pub/users/tdyas/db/db-linkmaster.tar.gz
>
> When I try to follow a link, it crashes in PilotMain() soon after the
> DbgPrintF("follow link") at line 244 of main.c.
>
> Oh, to build DB, you need the attached patch againt pilrc 2.4.
>
> Thanks in advance for any help you can provide!
>
The problem is that you have misunderstood the purpose of the
linkAppLaunchCmdSubCall. When you recieve this launch code, your app is
not being launched, as it might be with the sysAppLaunchCmdGoTo. When
you recieve this launch code, you should check to see if your app is
already running (by checking for the sysAppLaunchFlagSubCall flag). If
it is not running, it is up to you to launch it (note: it doesn't hurt
to launch it a second time, which is why the sample code in
devguide.html unconditionally launches the app. The only reason to
do something more complicated is for speed, which generally only applies
for moving back and forth in the history). This is complicated,
and I will try to explain it better in the next revision of the
developer's guide. I've attached a patch to main.c.
-Ben
-- Ben Darnell bgdarnel@unity.ncsu.edu http://www4.ncsu.edu/~bgdarnel/thoughtstream/------------------------------------------------------------------------
eGroups.com home: http://www.egroups.com/group/linkmaster http://www.egroups.com - Simplifying group communications
This archive was generated by hypermail 2b25 : Tue Sep 05 2000 - 22:09:10 EDT