Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about bstr

Read more about bstr

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - bstr

Memory leaks while using CComBstr and system::string

class ATL_NO_VTABLE CMasterStore : public CComObjectRootEx<CComSingleThreadModel>, public CComCoClass<CMasterStore, &CLSID_MasterStore>, pub...
test-img

LavanyaBhuma

c#

visual-c++

memory-leaks

com

bstr

Votes: 0

Answers: 1

Latest Answer

The StringToBSTR method allocates a BSTR on the system heap for the string and assigns puts the string in the newly allocated BSTR and returns the pointer to the string. Memory has been allocated on t...
test-img

BertZ

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved