BUG: _WGetCursor() Gives Error: Invalid Function Argument...

Last reviewed: August 28, 1995
Article ID: Q118745
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6

SYMPTOMS

The error message "Invalid function argument value, type, or count" is produced when the _WGetCursor() function is called in FOXTOOLS.FLL.

CAUSE

The cause of this problem has not yet been determined.

RESOLUTION

Use the FoxPro Library Construction Kit (LCK) to write an .FLL containing a function that calls the _WGetCursor() function. Instead of calling the _WGetCursor() function in FOXTOOLS.FLL, call your function, which in turn calls _WGetCursor() and returns the appropriate value.

STATUS

Microsoft has confirmed this to be a problem in FoxPro version 2.6 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

Place the following code in a .PRG file and execute the file. The error message will be produced when the _WGetCursor() function is called.

   SET LIBRARY TO foxtools.fll

   DEFINE WINDOW x FROM 10,10 TO 15,60
   ACTIVATE WINDOW x

   wh = _WonTop()
   ? _WGetCursor(wh)

   RELEASE WINDOW x

   SET LIBRARY TO


Additional reference words: FoxWin 2.60 errmsg err msg buglist2.60
KBCategory: kbprg kberrmsg kbbuglist
KBSubcategory: FxtoolLck


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" 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.

Last reviewed: August 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.