bacepps@ssc-vax.UUCP (Jay Culley) (08/25/90)
I have a program that has been compiled and linked successfully as an MPW Tool. In this tool configuration, it does what it is intended to do: Reads in "inputfile", converts certain fields from EBCDC to ASCII, and outputs them to "inputfile.asc. However, the project further requires that the program run as standalone code, invoked - including its inputfile argument - via HyperCard. It is my understanding that this is accomplished by configuring the program as a Code Resource of resource type (-rt) XCMD. I am not sure what its type (-t) has to be, but I have been using MPST and a creator (-c) of MPS. I am including these because the CreateMake menu will not go on without some entry for these two items. I have, however, tried other combinations for these, and I still get the same Link Error. I get the message: Link: Error: Data initialization code is not being called. (Error 57) I note that the Make file includes CRuntime.o in the link list, but I am entering no kind of initialization call in the main code, because I do not know what is appropriate. Any help you have regarding this problem would be appreciated. Jay Culley (Boeing - !uw_beaver!ssc-vax!bacepps)