FIX: RISC: CByte Doesn't Fail on Negative Values in Native Exe (172256)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q172256 SYMPTOMS
In a native executable, passing a negative value to the CByte function does not generate an error. It should cause an Overflow error.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This bug has been fixed in Visual Studio 97 Service Pack 2. For additional information on the Visual Studio 97 Service Pack 2, click the article number below
to view the article in the Microsoft Knowledge Base:
170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why
For a list of the Visual Basic 5.0 bugs that were fixed in the Visual Studio 97 Service Pack 2, please see the following article in the Microsoft Knowledge Base:
171554 INFO: Visual Basic 5.0 Fixes in Visual Studio 97 Service Pack 2
Modification Type: | Minor | Last Reviewed: | 2/24/2005 |
---|
Keywords: | kbBug kbfix kbvbp500sp2fix kbVS97sp2fix KB172256 |
---|
|