Microsoft KB Archive/157050

= PRB: Loops of @..SAY  Causes GPF =

PSS ID Number: 157050

Article Last Modified on 12/3/2003

-

The information in this article applies to:


 * Microsoft Visual FoxPro for Windows 3.0
 * Microsoft Visual FoxPro for Windows 3.0b
 * Microsoft Visual FoxPro for Windows 5.0
 * Microsoft Visual FoxPro for Windows 6.0

-



This article was previously published under Q157050



SYMPTOMS
WARNING: The information in this article has not been confirmed or tested by Microsoft. Some or all of the information in this article has been taken from unconfirmed customer reports. ANY USE BY YOU OF THE INFORMATION PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this information "as is" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Looping @...SAY  might cause a General Protection Fault (GPF) in Windows 3.1 and Windows for Workgroups, and it might trigger one of the following error messages:

VFP caused an invalid page fault in module kernal32.dll at " under Windows 95

-or-

Application Error : Access violation : under Winnt3.51



WORKAROUND
Instead of displaying a Picture from the general field, issue the following command:

@...SAY  Bitmap



STATUS
Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
 Create a Table (name it Test) with a general field (name it Pic). Embed a .bmp file into the general field Pic. Execute the program as follows:

CLOSE data SELECT 0 USE Test DO while .t.     @ 1,1 SAY Pic ENDDO



The amount of time the loop runs varies depending on your processor, memory, and operating system.

Additional query words: kbdse vFoxWin

Keywords: kberrmsg KB157050

Technology: kbAudDeveloper kbVFP300 kbVFP300b kbVFP500 kbVFP600 kbVFP600Search kbVFPsearch

-

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

© 2004 Microsoft Corporation. All rights reserved.