Click here to Skip to main content
15,905,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconversion from ini to xml Pin
swaapu5-Oct-05 3:04
swaapu5-Oct-05 3:04 
Questionconversion from ini to xml Pin
swaapu5-Oct-05 3:04
swaapu5-Oct-05 3:04 
AnswerRe: conversion from ini to xml Pin
vikas amin5-Oct-05 3:22
vikas amin5-Oct-05 3:22 
GeneralRe: conversion from ini to xml Pin
toxcct5-Oct-05 4:48
toxcct5-Oct-05 4:48 
GeneralRe: conversion from ini to xml Pin
Rage5-Oct-05 5:57
professionalRage5-Oct-05 5:57 
JokeRe: conversion from ini to xml Pin
toxcct5-Oct-05 6:09
toxcct5-Oct-05 6:09 
QuestionRe: conversion from ini to xml Pin
David Crow5-Oct-05 6:42
David Crow5-Oct-05 6:42 
AnswerRe: conversion from ini to xml Pin
David Crow5-Oct-05 3:50
David Crow5-Oct-05 3:50 
The first thing I would do is print out an .ini file on your system that fits on a single sheet of paper (for me this was win.ini). Then on a separate sheet of paper, write out what the resulting XML format should look like. Some things you should notice:

  • Each section in the .ini file should relate to a set of same-named tags in the XML file. For example, if the .ini file had a section named [Mail], then you should expect to have <Mail></Mail> tags in the XML file.

  • Each key in a given section of the .ini file should relate to a set of same-named tags within the aforementioned tags. For example, if the .ini file had a key named MAPIXVER with a value of 1.0.0.1 in the [Mail] section, then you should expect to have <MAPIXVER>1.0.0.1</MAPIXVER> in the XML file in between the <Mail></Mail> tags.

    Make sense?


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


  • GeneralRe: conversion from ini to xml Pin
    swaapu5-Oct-05 20:38
    swaapu5-Oct-05 20:38 
    QuestionRe: conversion from ini to xml Pin
    David Crow6-Oct-05 2:20
    David Crow6-Oct-05 2:20 
    AnswerRe: conversion from ini to xml Pin
    Anonymous6-Oct-05 20:04
    Anonymous6-Oct-05 20:04 
    QuestionInter process communication. problem Pin
    prashantarun5-Oct-05 2:53
    prashantarun5-Oct-05 2:53 
    AnswerRe: Inter process communication. problem Pin
    Bob Stanneveld5-Oct-05 6:22
    Bob Stanneveld5-Oct-05 6:22 
    GeneralRe: Inter process communication. problem Pin
    prashantarun5-Oct-05 23:57
    prashantarun5-Oct-05 23:57 
    GeneralRe: Inter process communication. problem Pin
    Bob Stanneveld6-Oct-05 10:28
    Bob Stanneveld6-Oct-05 10:28 
    GeneralRe: Inter process communication. problem Pin
    Anonymous6-Oct-05 19:27
    Anonymous6-Oct-05 19:27 
    GeneralRe: Inter process communication. problem Pin
    Bob Stanneveld8-Oct-05 0:10
    Bob Stanneveld8-Oct-05 0:10 
    AnswerRe: Inter process communication. problem Pin
    David Crow5-Oct-05 6:45
    David Crow5-Oct-05 6:45 
    GeneralRe: Inter process communication. problem Pin
    prashantarun5-Oct-05 23:48
    prashantarun5-Oct-05 23:48 
    GeneralRe: Inter process communication. problem Pin
    David Crow6-Oct-05 2:17
    David Crow6-Oct-05 2:17 
    AnswerRe: Inter process communication. problem Pin
    Rick York5-Oct-05 12:08
    mveRick York5-Oct-05 12:08 
    GeneralGet the listing of the files present in the specified directory. Pin
    intelligent_pb5-Oct-05 2:38
    intelligent_pb5-Oct-05 2:38 
    GeneralRe: Get the listing of the files present in the specified directory. Pin
    David Crow5-Oct-05 3:55
    David Crow5-Oct-05 3:55 
    Questionmenus Pin
    swaapu5-Oct-05 2:17
    swaapu5-Oct-05 2:17 
    AnswerRe: menus Pin
    vikas amin5-Oct-05 3:01
    vikas amin5-Oct-05 3:01 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.