Thank you for your answer, Derek. 2000/03/18 04:03, Derek Smith wrote: > You're correct, no such library exists. The file with that name has > 29(!) code fragments that contain library names. You might dig thru there > and look for something like OTClientLib or similar. The 'cfrg' is where > the actual library names are stored. You'll probly need resourcerer in > order to view the cfrg. Yes, yes. I have looked all of the Library name in "OpenTransport" and can not look "OpenTransportLib" out. But whitch library can I use for InitOpenTransport function? My original code is bellow: ------------------------------------------- #DEFINE OSStatus AS short toolbox fn InitOpenTransport = OSStatus toolbox CloseOpenTransport end globals clear local local fn Main dim err as short err = FN InitOpenTransport LONG if err = _noErr print "Success!" CALL CloseOpenTransport XELSE print "Failure! Error = "; err END IF end fn fn Main ------------------------------------------- This code will be crashed with "PowerPC illegal instruction at xxxxx" error with MacsBug. I think, I must put a `LIBRARY "libname"' line before TOOLBOX FN statement such bellow: LIBRARY "OTClientLib" <-- Which library ? toolbox fn InitOpenTransport = OSStatus toolbox CloseOpenTransport LIBRARY To find the library which have the function "InitOpenTransport", I list all EXPORTS of all library name in OpenTransport ( I could know the library name from 'cfrg' resource). But I couldn't look "InitOpenTransport" out in any library. an similar function "InitOpenTransportPriv" is in the Library "OTClientUtilLib". This is same function with "InitOpenTransport"? Or, Does really I have to put "LIBRARY" line before TOOLBOX FN to use OpenTransport? Are there some other problems on my code? ********************************************************* ** Do, or do not. ** ** There is no try. -- Master Yoda ** ** ** ** 矢野 勉 / ベン ** ** ID: ben@... ** ** http://www1.linkclub.or.jp/~ben/index.shtml ** *********************************************************