Microsoft KB Archive/150220

= FIX: Invalid Page Fault or GPF Results When Making an EXE File =

Article ID: 150220

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q150220



SYMPTOMS
If the Application Description field (on the Tools menu, select Options dialog, and select Project tab) contains more than 101 characters, then making an EXE file for the project causes a General Protection Fault or Invalid Page Fault.



STATUS
Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual Basic version 5.0 for Windows.



WORKAROUND
Avoid the problem by ensuring that the Application Description is less than 101 characters in length. Descriptions of this length are not recommended in any case, because some Object Browsers can truncate the string due to its size.



MORE INFORMATION
This problem only occurs if the Remote Server Support files are generated for the project. This is controlled in the Options for the EXE file which can be obtained by pressing the Options button in the Make EXE dialog box.

Steps to Reproduce Problem
 Start a new project in Visual Basic. Form1 is created by default. From the Insert menu, select Class Module to create the module. Press F4 to invoke the Properties for the Class module, change the Instancing property to 2-Createable MultiUse, and change the Public property to True. From the Tools menu, select Options. Then select the Project tab, and type in an Application Description that is greater than 101 bytes long. For example:

0123456789012345678901234567890123456789012345678901234567890123456789 01234567890123456789012345678901

 From the File menu, select Make EXE, and in the dialog box, select the Options button. Select the Remote Server Support Files check box. Click OK, and then attempt to make the EXE file. An Invalid Page Fault or a General protection Fault occurs.</ol>

Additional query words: kbNoKeyword kbCompiler

Keywords: kbbug kbfix kbvbp500fix KB150220

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.