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
D

dannycarva

@dannycarva
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Variants
    D dannycarva

    You're right! I tried that, but I did it wrong. I used: _variant_t v2 (myString.c_str); Now it works with the parenthesis. Thanks!!!

    C / C++ / MFC csharp help question

  • Variants
    D dannycarva

    You're right. Didn't work. :( Thanks

    C / C++ / MFC csharp help question

  • Variants
    D dannycarva

    Hello and thanks for the response. Is CString only for MFC apps? I read that somewhere. This dll I am working on is does not use MFC. I'll see if I can do something similar to this, which probably doesn't work, but I'll give it a shot. std::string myString = (_bstr_t)v; myString = myString.substr(0,1000); _variant_t v2( (_bstr_t)myString ); Thanks!!

    C / C++ / MFC csharp help question

  • Variants
    D dannycarva

    Hello, I am a C#/VB programmer. I am trying to fix something that someone else wrote. There is a variable of type _variant_t. I need to take that value, and split it into 2 smaller variants. I am having problems doing this. If anyone can point me in the right direction, I would appreciate it. Here is the variable, "v", that I need to split into 2 variants. //-------------------------------------------------------- // "m_pResponseBuf->BufPtr()" is a pointer to the text in // a Response object. //-------------------------------------------------------- _variant_t v( m_pResponseBuf->BufPtr() ); m_Response->Write( v ); How would I take a portion of "v" and put the results into another variant? Thanks Danny

    C / C++ / MFC csharp help 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