[comp.sys.mac.hypercard] XCmd problems in HC 2.0

imp@tik.vtt.fi (Ilkka Priha) (01/08/91)

We have just finished the conversion of a quite large HC application
(40 000 source lines of XCmds, 5 000 lines of HyperTalk) to HC 2.0.
After the normal problems and several beta releases we think the result
is really enjoyable (large cards, several stacks open, background
processing, ...; thanks for the HC 2.0 development team our choise
for the development tool over two years ago was the right one). 

However, two problems remained:
1) The new glue routine 'getFilePath(...)', which should find files of
   different types by using the search paths in the Home stack, worked
   only with HC 2.0B; with HC 2.0 it hangs up the system and with
   HC 2.0v2 it always returns an empty filename.
2) When an XCmd is sent to some object (f.ex. 'card "X"'), 'the target'
   function (called within the XCmd with the glue 'evalExpr(...)') 
   does not return 'card "X"' but an object which have received the 
   latest HyperTalk message (typically the one which sent the XCmd). 

Have anyone had the same problems? Maybe we have a wrong version of the
HyperXCmd.p interface file? Is there any release notes available for the
HC 2.0 interfaces? Any other comments on the XCmds in HC 2.0?
--
Ilkka Priha                   |  Internet: priha@tik.vtt.FI
Systems Consultant            |  Bitnet:   priha:FINVTT.BITNET
Tiihonen Software Co. Ltd     |  UUCP:     mcvax!tikvtt!priha
Finland                       |  PSI-mail: PSI%204041::VTTTIK::PRIHA

jkc@Apple.COM (John Kevin Calhoun) (01/09/91)

In article <5317@hemuli.tik.vtt.fi> imp@tik.vtt.fi (Ilkka Priha) writes:
>1) The new glue routine 'getFilePath(...)', which should find files of
>   different types by using the search paths in the Home stack, worked
>   only with HC 2.0B; with HC 2.0 it hangs up the system and with
>   HC 2.0v2 it always returns an empty filename.

You're using outdated glue code.  Get the latest libraries and interfaces
via ftp from apple.com.

Kevin Calhoun
HyperCard Team
Apple Computer, Inc.