Microsoft KB Archive/223326

From BetaArchive Wiki

Article ID: 223326

Article Last Modified on 6/2/1999



APPLIES TO

  • Microsoft Visual Basic Repository 2.0



This article was previously published under Q223326

SYMPTOMS

An "Out of Memory" error is raised when trying to set a property defined with a SQLType of SQL_CHAR. This error is not raised until you try to commit the property that you are setting.

This does not reproduce against an Access-based Repository.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3.

For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open an existing Repository.
  2. Start a Transaction.
  3. Use the CreatePropertyDef method of the InterfaceDef object to create a new property specifying a SQLType of SQL_CHAR.
  4. Commit the tranaction.
  5. Create an Object that implements the Interface.
  6. Instantiate the object.
  7. Set the Property. The result is that an "Out of Memory" error is raised and the calling application hangs.


Keywords: kbbug kbfix kbvs600sp3fix KB223326