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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. INI to XML conveersion (very urgent)

INI to XML conveersion (very urgent)

Scheduled Pinned Locked Moved C / C++ / MFC
c++xmltutorialquestionlearning
4 Posts 4 Posters 0 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.
  • S Offline
    S Offline
    swaapu
    wrote on last edited by
    #1

    Hi I am learning MFC exe application. I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is: ABCD.yak [Section1] Key1=ABCD Key2=20 Can anybody tell me how to convert it into an xml file using mfc. Please tell me which functions should I make? Thanx

    T T D 3 Replies Last reply
    0
    • S swaapu

      Hi I am learning MFC exe application. I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is: ABCD.yak [Section1] Key1=ABCD Key2=20 Can anybody tell me how to convert it into an xml file using mfc. Please tell me which functions should I make? Thanx

      T Offline
      T Offline
      The NULL Developer
      wrote on last edited by
      #2

      see msxml 4.0 and dom in msdn "Do first things first, and second things not at all." — Peter Drucker.

      1 Reply Last reply
      0
      • S swaapu

        Hi I am learning MFC exe application. I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is: ABCD.yak [Section1] Key1=ABCD Key2=20 Can anybody tell me how to convert it into an xml file using mfc. Please tell me which functions should I make? Thanx

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        As you mentioned swaapu wrote: ABCD.yak [Section1] Key1=ABCD Key2=20 you can convert into xml like this <section1> <Key1>ABCD</Key1> <Key2>20</Key2> </section1> now if you need tool/class to read and write it, this would be good start http://www.codeproject.com/soap/markupclass.asp[^]

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV -- modified at 7:12 Thursday 13th October, 2005

        1 Reply Last reply
        0
        • S swaapu

          Hi I am learning MFC exe application. I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is: ABCD.yak [Section1] Key1=ABCD Key2=20 Can anybody tell me how to convert it into an xml file using mfc. Please tell me which functions should I make? Thanx

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          What have you got coded up so far that you need help with? This makes at least the fourth time you've asked this same question but it does not appear you are making any progress whatsoever. We're here to help but you have to make a concerted effort.


          "One must learn from the bite of the fire to leave it alone." - Native American Proverb

          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