Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!calvin.usc.edu!dank From: dank@calvin.usc.edu (Dan King) Newsgroups: comp.sys.mac.programmer Subject: ARRRGGH! MPW 3.1 HyperCard XFCN Linkage Errors... Message-ID: <29347@usc> Date: 15 Jan 91 22:25:16 GMT Sender: news@usc Organization: University of Southern California, Los Angeles, CA Lines: 21 Nntp-Posting-Host: calvin.usc.edu [OK, fine! I'll give up and ask for help on this one, too!] I've written several XFCNs with MPW 3.0 that work fine. Today, however, I tried to recompile the same (exactly the same) code with MPW 3.1. The compile worked fine. The link produced the following error: ### Link: Error: Data Initialization code is not being called. (Error 57) I've never seen this before. The XFCN (actually, the three XFCNs which all produce this error) is a simple beast that mucks about with a couple of resources then exits. No windows/dialogs/menus/or anything. Has anybody else seen this before? Is it documented anywhere? Any suggestions for a fix (the code is a little lengthy to post, but I will if it will help)? Any help will, as always, be appreciated. dank