[futurebasic] Re: Navigation services

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1998 : Group Archive : Group : All Groups

From: Derek Smith <dereksmi@...>
Date: Tue, 22 Sep 1998 13:43:38 -1000


> Further to the message from Jonathon, I have been trying to add Navigation
> Services but cannot create the required INCL file using the Pascal Converter
> or the C Converter to translate the Header files.
> 
> The fundamental difficulty is that the Headers do not have the inline data
> needed for those converters, such that, an example output would be:


I looked into this and thinking I was a smartass with assembly these days
I thought it might be possible.  The reason these files cannot be decoded
is because it is a header file with C-style EXTERN functions that jump
into an MPW .o file (NavLib.o or something like that).  Personally I have
no idea what the format of a .o file is, so I cannot create glue to these
routines.  The second alternative is to call the Nav Services shared
library which I also don't know how to do from FB2 if it is even possible
at all, which I doubt.

The short answer here is you won't be able to do this without some
*serious* assembly programming and it will be much harder than just adding
a toolbox call.  I decided I didn't want it bad enough to do that.

STAZ I think mentioned once that FB3 will be able to call shared
libraries, this is probably another one of those "Wait for FB3" kinda
things.

If Mars or Joe or any other assembly guys want to try it, it may be
possible to do, personally I think it would be too hard to do by hand.


-Derek
----------------
www2.hawaii.edu/~dereksmi
----------------