Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance Slow Under Terminal Server
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00444026
Message ID:
00445722
Views:
12
>Where can I find documentation on what this setting does? (BITMAP=OFF) I've looked in the MSDN library and can't find anything informative yet. You've caught my curiousity and I'd like to understand the setting.

Hi Julie. Here is what the support site says:

FIX: Config.fpw Setting for Terminal Server Environment

--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Visual FoxPro for Windows, version 6.0

--------------------------------------------------------------------------------


SYMPTOMS
When running Visual FoxPro 6.0 under Microsoft Terminal Services, you may experience severe performance degradation.



CAUSE
In an attempt to increase performance, Visual FoxPro draws to off-screen bitmaps and then puts the whole bitmap on the screen. When running under Terminal Services, this behavior can actually slow performance.



RESOLUTION
Microsoft Visual FoxPro 6.0, with Visual Studio Service Pack 4, includes support for a new Config.fpw switch to prevent these off-screen bitmaps from being drawn. The code is:

BITMAP=OFF



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 4. For more information about Visual Studio service packs, please click on the article numbers below to view the articles in the Microsoft Knowledge Base:

Q258648 INFO: Visual Studio 6.0 Service Pack 4, What, Where, Why
Q258649 HOWTO: Tell That Visual Studio 6.0 Service Pack 4 Is Installed



MORE INFORMATION
When Visual FoxPro writes anything to the screen, it writes first to an off-screen bitmap, and then performs a bit-block (bitblt) transfer to the screen. This results in smoother screen painting.

Software that allows remote access to a Visual FoxPro session (for example, Windows Terminal Server) can detect screen changes, mouse moves, and keyboard events. When one of these events occurs, the software broadcasts it over the network. When Visual FoxPro performs a bitblt operation, the entire region is detected as changed and, therefore, the entire region is sent over the wire to the remote computer.

If you have the line of code "BITMAP=OFF" in your Config.fpw, then the off-screen bitmaps are not used. However, the performance of Visual FoxPro applications in Visual Studio 6.0 Service Pack 4 under Windows Terminal Server without off-screen bitmaps can be significantly faster, depending on your screen size, net speed, and other variables.

NOTE: Microsoft recommends that you do not use this setting for normal Visual FoxPro applications or Component Object Model (COM) servers.

There are some side effects that reduce the functionality of certain Visual FoxPro features so that these features are not particularly useful under Windows Terminal Server:

Streaming Output

Streaming output to a form or to _SCREEN is not refreshed. This means that if you ? something to the screen, and then switch to another window and back again, Visual FoxPro refreshes the screen but does not re-execute the ? function. As a result, the output is not refreshed.

Form Drawing Methods

The refresh issue applies to Form Drawing Methods such as Form.Line, Form.Pset, and so on.

Additional query words: sp4

Keywords : kbServer kbVFp600 kbVFp600bug kbXBase kbGrpFox kbDSupport kbTermServ kbVS600sp4fix kbVS600sp4
Issue type : kbbug
Technology :



Last Reviewed: October 18, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform