Click here to Skip to main content
15,886,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C code problem Pin
Naveen24-Apr-06 2:44
Naveen24-Apr-06 2:44 
QuestionRe: C code problem Pin
David Crow24-Apr-06 2:40
David Crow24-Apr-06 2:40 
AnswerRe: C code problem Pin
Stephen Hewitt24-Apr-06 2:40
Stephen Hewitt24-Apr-06 2:40 
GeneralRe: C code problem Pin
vikramlinux24-Apr-06 2:48
vikramlinux24-Apr-06 2:48 
GeneralRe: C code problem Pin
Naveen24-Apr-06 2:59
Naveen24-Apr-06 2:59 
GeneralRe: C code problem Pin
vikramlinux24-Apr-06 3:08
vikramlinux24-Apr-06 3:08 
QuestionAccessing the child node in DOM XML?? Pin
itkid24-Apr-06 2:31
itkid24-Apr-06 2:31 
AnswerRe: Accessing the child node in DOM XML?? Pin
YaronNir24-Apr-06 2:49
YaronNir24-Apr-06 2:49 
I would do it a bit differently:

....
....
pNodeItem =CurrentNode->selectSingleNode("scanSerialNumberPrompt");
if (NULL != pNodeItem)
{
   MSXML::IXMLDOMNodeListPtr pXMLNodeList = pNodeItem->selectNodes(_T("sequence"));
   if (NULL != pXMLNodeList)
   {
      MSXML::IXMLDOMNodePtr pXmlNode = NULL;
      for(int i = 0; i < pXMLNodeList->length; i++)
      {
         pXMLNode = pXMLNodeList->nextNode();
	 if(pXMLNode)
         {
            _bstr_t bsTxt = pXMLNode->getText();
            ........
            Do what ever you want with the text here
            ........
         }
       }
   } 
}

same thing for "prompt"

Hope this helps you

Yaron

Ask not what your application can do for you,
Ask what you can do for your application
GeneralRe: Accessing the child node in DOM XML?? Pin
itkid24-Apr-06 19:31
itkid24-Apr-06 19:31 
QuestionProblem with ntddk.h Pin
rajeevktripathi24-Apr-06 1:35
rajeevktripathi24-Apr-06 1:35 
AnswerRe: Problem with ntddk.h Pin
David Crow24-Apr-06 2:37
David Crow24-Apr-06 2:37 
AnswerRe: Problem with ntddk.h Pin
Ryan Binns24-Apr-06 4:49
Ryan Binns24-Apr-06 4:49 
QuestionRe: Problem with ntddk.h Pin
rajeevktripathi24-Apr-06 19:09
rajeevktripathi24-Apr-06 19:09 
AnswerRe: Problem with ntddk.h Pin
Ryan Binns24-Apr-06 23:28
Ryan Binns24-Apr-06 23:28 
QuestionHow to display Static Text over 256??? Pin
Surivevoli24-Apr-06 1:32
Surivevoli24-Apr-06 1:32 
QuestionRe: How to display Static Text over 256??? Pin
David Crow24-Apr-06 2:41
David Crow24-Apr-06 2:41 
AnswerRe: How to display Static Text over 256??? Pin
ThatsAlok24-Apr-06 3:56
ThatsAlok24-Apr-06 3:56 
GeneralRe: How to display Static Text over 256??? Pin
Surivevoli24-Apr-06 5:04
Surivevoli24-Apr-06 5:04 
AnswerRe: How to display Static Text over 256??? Pin
Chris Losinger24-Apr-06 4:35
professionalChris Losinger24-Apr-06 4:35 
AnswerRe: How to display Static Text over 256??? Pin
Hamid_RT24-Apr-06 5:00
Hamid_RT24-Apr-06 5:00 
GeneralRe: How to display Static Text over 256??? Pin
Surivevoli24-Apr-06 6:28
Surivevoli24-Apr-06 6:28 
GeneralRe: How to display Static Text over 256??? Pin
Hamid_RT24-Apr-06 19:25
Hamid_RT24-Apr-06 19:25 
QuestionDeployment project Pin
Shree24-Apr-06 1:18
Shree24-Apr-06 1:18 
AnswerRe: Deployment project Pin
includeh1024-Apr-06 2:20
includeh1024-Apr-06 2:20 
GeneralRe: Deployment project Pin
Shree24-Apr-06 6:30
Shree24-Apr-06 6:30 

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.