The information in this article applies to:
SYMPTOMSWhen calling an API that returns a very small double value, Visual FoxPro interprets this value as zero. RESOLUTION
NOTE: The file referenced in this article as Project1.dll is for example
purposes only. Project1.dll is theoretical API library not installed by any
version of Microsoft Visual FoxPro.
This returns the correct value.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONConsider a custom DLL Project1.dll containing the function getVal. Function getVal takes a number in text format and converts it to a double, which it returns to the calling procedure. Steps to Reproduce BehaviorTo reproduce the problem, type the following code:
This returns 0.
Additional query words:
Keywords : kbprg kbVFp kbVFp500abug kbVFp500bug FxprgFoxtools |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |