https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/39251&feed=atom&action=history
Microsoft KB Archive/39251 - Revision history
2024-03-28T18:11:13Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/39251&diff=183876&oldid=prev
3155ffGd: importing KB archive
2020-07-18T16:56:00Z
<p>importing KB archive</p>
<p><b>New page</b></p><div>= Microsoft Knowledge Base =<br />
<br />
== NOCOM.OBJ Supplement for QuickBasic 4.50 for Smaller .EXE ==<br />
<br />
<span>Last reviewed: September 25, 1997<br /><br />
Article ID: Q39251</span><br />
<br />
4.50 MS-DOS kbprg kbfile kbdocerr<br />
<br />
== SUMMARY ==<br />
<br />
On pages 349 and 357 of the &quot;Microsoft QuickBasic 4.5: Programming in Basic&quot; manual for version 4.50, the NOTE on the bottom of the page incorrectly states that NOCOM.OBJ is shipped with QuickBasic version 4.50.<br />
<br />
To get NOCOM.OBJ for QuickBasic version 4.50:<br />
<br />
You can find NOCOM450.EXE, a self-extracting file, on these services:<br />
<br />
<ul><br />
<li><p>Microsoft's World Wide Web site on the Internet</p><br />
<pre> On the www.microsoft.com home page, click the Support icon<br />
Click Knowledge Base, and select the product<br />
Enter kbfile NOCOM450.EXE, and click GO!<br />
Open the article, and click the button to download the file</pre></li><br />
<li><p>Internet (anonymous FTP)</p><br />
<pre> ftp ftp.microsoft.com<br />
Change to the Softlib/Mslfiles folder<br />
Get NOCOM450.EXE</pre></li><br />
<li><p>The Microsoft Network</p><br />
<pre> On the Edit menu, click Go To, and then click Other Location<br />
Type &quot;mssupport&quot; (without the quotation marks)<br />
Double-click the MS Software Library icon<br />
Find the appropriate product area<br />
Locate and Download NOCOM450.EXE</pre></li><br />
<li><p>Microsoft Download Service (MSDL)</p><br />
<pre> Dial (425) 936-6735 to connect to MSDL<br />
Download NOCOM450.EXE</pre></li></ul><br />
<br />
For additional information about downloading, please see the following article in the Microsoft Knowledge Base:<br />
<br />
<pre> ARTICLE-ID: Q119591<br />
TITLE : How to Obtain Microsoft Support Files from Online Services<br />
</pre><br />
For standalone .EXE files (that is, those compiled with the BC /O option) that use a string variable for the filename in the OPEN statement, linking to the file NOCOM.OBJ reduces the size of the programs by about 4K. NOCOM can be used only with programs that do NOT use serial communications.<br />
<br />
== MORE INFORMATION ==<br />
<br />
The NOCOM.OBJ file was shipped with Microsoft Basic Compiler versions 6.00 and 6.00b; with Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10; and with QuickBasic versions 4.00 and 4.00b, but not with QuickBasic version 4.50 (due to lack of disk space).<br />
<br />
The following text is taken from the NOCOM.DOC file in the MSL:<br />
<br />
<pre> Dear Microsoft Customer,<br />
<br />
Please find enclosed a copy of the NOCOM.OBJ file you requested for<br />
use with QuickBasic version 4.50. Before using this file, please<br />
read the following guidelines that explain when NOCOM is useful.<br />
<br />
If your program contains OPEN statements that use a string variable<br />
for the filename, the compiler will not recognize that this OPEN<br />
statement is not being used for data communications. The following<br />
is an example:<br />
<br />
a$ = &quot;LPT1:&quot;<br />
OPEN a$ FOR OUTPUT AS #1<br />
<br />
As a result, the overhead necessary to support data communications<br />
will be automatically included in the executable program. In the<br />
above example, your EXE file size will be reduced by approximately<br />
4K if you compile with BC /O (stand-alone option) and link using<br />
the following LINK command:<br />
<br />
BC yourprog.BAS/O;<br />
LINK yourprog.OBJ+NOCOM.OBJ;<br />
<br />
However, if your program does not contain any OPEN statements, or<br />
if the OPEN statements do not contain string variables as shown in<br />
the above example, the compiler will recognize that the program<br />
does not contain any data communications routines. Subsequently,<br />
none of the data communications support will be automatically<br />
attached to the program. In most cases, you do not need to link to<br />
the file NOCOM.OBJ.<br />
<br />
Thank you<br />
<br />
Microsoft Technical Support</pre><br />
{|<br />
|width="100%"|<br />
<br />
-----<br />
<br />
<blockquote><span style="font-family:verdana,arial,helvetica; font-size:8pt"> Additional reference words: QuickBas softlib<br /><br />
KBCategory: kbprg kbfile<br /><br />
KBSubcategory:<br /><br />
Keywords : kbfile kbprg<br /><br />
Version : 4.50<br /><br />
Platform : MS-DOS<br /><br />
</span><br /><br />
<br /><br />
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.</blockquote><br />
<span>Last reviewed: September 25, 1997</span><br /><br />
<span>©1997 Microsoft Corporation. All rights reserved. Legal Notices</span>.<br /><br />
|}</div>
3155ffGd