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
  1. Home
  2. Database & SysAdmin
  3. Database
  4. CHAR, adVarWChar, CString

CHAR, adVarWChar, CString

Scheduled Pinned Locked Moved Database
helpquestionwpfwcf
1 Posts 1 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    David Pokluda
    wrote on last edited by
    #1

    Hi, I have this problem. I have created this class for ADO binding: class Obce : public CADORecordBinding { BEGIN_ADO_BINDING(Obce) ADO_VARIABLE_LENGTH_ENTRY2( 1, adVarWChar, m_szCITY, sizeof(m_szCITY), m_lCITYStatus, FALSE) END_ADO_BINDING() //Attributes public: CHAR m_szCITY[46]; ULONG m_lCITYStatus; }; Now I have an edit control IDC_CITY and the variable m_strCity. All I need is to exchange data between these two variables. How do I do: m_strCity -> m_szCITY and m_szCITY -> m_strCity? Thank you for your help or suggestions. David Pokluda (pokluda@mujweb.cz)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

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