The information in this article applies to:
SYMPTOMSWhen compiling or running a Windows CE Toolkit for Visual Basic (VBCE) 5.0 project, an application error in either Pvb.exe or Vb5.exe may occur. This error would be similar to the following: The addresses of the error may differ depending on when the error occurs. CAUSEScenario 1If more than about 4k of string data is contained in a VBCE project, the compilation of the project could result in an error similar to the one displayed above. Control names and any properties that hold string information (including captions, tags, text properties) contribute toward this limit. Once this information exceeds about 4k, memory allocation problems may start to occur.Scenario 2An application built with the VBCE may cause an application error in the Pvb.exe file during run-time if a list box with string information longer than 64 Unicode characters exists in the application. When retrieving the string for a list box, VBCE does not allocate enough memory for the null terminator and the string overflows a buffer.RESOLUTIONScenario 1A new version of the PVBCORE.DLL is available that resolves this issue. For more information on how to obtain the new PVBCORE.DLL, please see the following article in the Microsoft Knowledge Base:Q187932 FILE: PVBCRORE.EXE Contains Updates PVBCORE.DLL Scenario 2Limit strings in list boxes to fewer than 64 Unicode characters. An additional alternative is to use the ListView control that ships with the Windows CE ActiveX Control Pack available from the Microsoft Web site located at:http://www.microsoft.com/windowsce/downloads/pccompanions/actxconpak1.asp STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article. Additional query words: vbce vbce5 vbce6
Keywords : kbToolkit kbVBp kbVBp500bug kbVBp600fix kbWinCE kbWinCE100 kbGrpVB |
Last Reviewed: March 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |