Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

Sandeep Kulkarni

@Sandeep Kulkarni
About
Posts
4
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • string to _bstr_t conversion
    S Sandeep Kulkarni

    Actually the scenario is a bit different. I have a string, which needs to be encrypted first, then be supplied to another component. While encrypting a "valid" string, there is every possibility(perhaps there is!) that some of the chars be substituted by NULL char. THIS IS VERY MUCH ALLOWED HERE!!! Now such an encrypted string needs to be passed to a method of a COM component which accepts nothing other than _bstr_t !!! Hence the problem!! Thanx anyway,More help will be appreciated.

    C / C++ / MFC c++ help

  • string to _bstr_t conversion
    S Sandeep Kulkarni

    hi i have an STL string object, which has a NULL char in the MIDDLE. For ex: #include using namespace std; .... string str = "abcdefghijklmnopqrstuvwxyz"; str[11] = 0; // str.size() still equals 26 Now i want to convert this string to _bstr_t object, retaining the NULL char and the chars after that. I tried this: _bstr_t bstr = str.c_str(); But only first 11 chars are being copied(till NULL char). Pls help TIA

    C / C++ / MFC c++ help

  • STL string to _bstr_t conversion
    S Sandeep Kulkarni

    hi i have an STL string object, which has a NULL char in the MIDDLE. For ex: #include using namespace std; .... string str = "abcdefghijklmnopqrstuvwxyz"; str[11] = 0; // str.size() still equals 26 Now i want to convert this string to _bstr_t object, retaining the NULL char and the chars after that. I tried this: _bstr_t bstr = str.c_str(); But only first 11 chars are being copied(till NULL char). Pls help TIA

    ATL / WTL / STL c++ help

  • Process performance monitor
    S Sandeep Kulkarni

    Could anyone pls tell me how to programmatically (VC++/VB6) get the CPU time & mem usage of a process, given the process name(or PID), under WIN2K? Th...x

    C / C++ / MFC c++ performance tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups