Microsoft KB Archive/71621

{|
 * width="100%"|

Excel: Using Pascal Code Resources
'Article ID: Q71621

Creation Date: 26-APR-1991

Revision Date: 30-MAY-1996' The information in this article applies to:


 * Microsoft Excel for the Macintosh, version 2.2

SUMMARY

The following information describes how Microsoft Excel for the Macintosh can use external Pascal code after that code has been compiled as a resource. This information and a disk containing code examples are available as part of an application note titled &quot;Using Pascal Code Resources,&quot; (ME0333).

You can obtain this Application Note from the following sources:

You can obtain this Application Note from the following sources:


 * Microsoft's World Wide Web Site on the Internet
 * The Internet (Microsoft anonymous ftp server)
 * The Microsoft Network (MSN)
 * Microsoft Download Service (MSDL)
 * Microsoft FastTips Technical Library
 * Microsoft Product Support Services

For complete information, see the &quot;To Obtain This Application Note&quot; section at the end of this article. TEXT FROM ME0333

Microsoft Excel can call external code written in C, Pascal, or any other language that can be compiled as a code resource for the Macintosh. Code resources can be used for such purposes as performing custom numeric functions, accessing external databases, and creating custom dialog boxes. Microsoft Excel can pass arguments to the code resource, and the code resource must always return some value to Microsoft Excel (even if it is just an error code). This application note presents a series of examples that describe the different types of parameters that can be passed between Microsoft Excel and a code resource. Each of these examples uses the CALL and REGISTER functions of Microsoft Excel, which are also explained in this application note.

TO OBTAIN THIS APPLICATION NOTE

You can find by.SEA, a self-extracting file, on the following services:

  Microsoft's World Wide Web Site on the Internet On the www.microsoft.com home page, click the Support icon. Click Knowledge Base, and select the product. Enter kbfile by.SEA, and click GO! Open the article, and click the button to download the file.   Internet (anonymous FTP) ftp ftp.microsoft.com Change to the Softlib/Mslfiles folder. Get by.SEA   The Microsoft Network On the Edit menu, click Go To, and then click Other Location. Type &quot;mssupport&quot; (without the quotation marks). Double-click the MS Software Library icon. Find the appropriate product area. Locate and Download by.SEA.   Microsoft Download Service (MSDL) Dial (206) 936-6735 to connect to MSDL Download by.SEA 

For additional information about downloading, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q119591 TITLE    : How to Obtain Microsoft Support Files from Online Services
 * Application Notes are available by modem from the Microsoft Download Service (MSDL), which you can reach by calling (206) 936-6735. This service is available 24 hours a day, 7 days a week. The highest download speed available is 14,400 bits per second (bps). For more information about using the MSDL, call (800) 936-4100 and follow the prompts. To obtain ME0333, download ME0333.SEA. ME0333.SEA is archived using the Compact Pro file-compression utility. You will need Extractor or a licensed copy of Compact Pro to unarchive this file.
 * If you are unable to access the source(s) listed above, you can have this Application Note mailed or faxed to you by calling Microsoft Product Support Services Monday through Friday, 6:00 A.M. to 6:00 P.M. Pacific time at (206) 635-7080. If you are outside the United States, contact the Microsoft subsidiary for your area. To locate your subsidiary, call Microsoft International Customer Service at (206) 936-8661.
 * }

-

"THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

KBCategory: kbother kbfile

KBSubcategory:

Additional reference words: 2.20