Click here to Skip to main content
16,010,300 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: struct type redefinition error (thank you) Pin
boon kian12-Jan-03 2:34
boon kian12-Jan-03 2:34 
GeneralGet Rid of DLLs. Pin
Alex H 198311-Jan-03 21:26
Alex H 198311-Jan-03 21:26 
GeneralRe: Get Rid of DLLs. Pin
Stephane Rodriguez.11-Jan-03 21:36
Stephane Rodriguez.11-Jan-03 21:36 
GeneralRe: Get Rid of DLLs. Pin
Alex H 198311-Jan-03 21:50
Alex H 198311-Jan-03 21:50 
GeneralRe: Get Rid of DLLs. Pin
Stephane Rodriguez.11-Jan-03 21:59
Stephane Rodriguez.11-Jan-03 21:59 
GeneralRe: Get Rid of DLLs. Pin
PJ Arends11-Jan-03 21:59
professionalPJ Arends11-Jan-03 21:59 
GeneralXML DOM - getting a child node by name using visual C++ Pin
jbernstein11-Jan-03 20:51
jbernstein11-Jan-03 20:51 
GeneralRe: XML DOM - getting a child node by name using visual C++ Pin
Stefan Pedersen11-Jan-03 21:01
Stefan Pedersen11-Jan-03 21:01 
You migh wanna take a look at selectNodes() which uses XSLT to select nodes, very handy.

For example, the following code will select all nodes with the attribute id = "3" and the path /test/yadda.

<code>
	IXMLDOMElement* pElem;

	pDoc->get_documentElement(&pElem);

	IXMLDOMNodeList* resList;

	if(SUCCEEDED(pElem->selectNodes(CComBSTR("/test/yadda[@id = \"3\"]"), &resList)))
	{
		long len;
		if(SUCCEEDED(resList->get_length(&len)))
		{
			for(long n = 0; n < len; n++)
			{
				IXMLDOMNode* pNode;
				resList->get_item(n, &pNode);
				CComBSTR strXml;
				pNode->get_xml(&strXml);
				MessageBox(CString(strXml.m_str));
			}
		}
	}
</code>


"You can stand all night at a redlight anywhere in town, hailing Marys left and right but none of them slow down. I've seen the best of men go past. I don't wanna be the last..."
GeneralRe: XML DOM - getting a child node by name using visual C++ Pin
jbernstein12-Jan-03 19:36
jbernstein12-Jan-03 19:36 
GeneralRe: XML DOM - getting a child node by name using visual C++ Pin
Joan M12-Jan-03 21:57
professionalJoan M12-Jan-03 21:57 
GeneralRe: XML DOM - getting a child node by name using visual C++ Pin
jbernstein13-Jan-03 0:58
jbernstein13-Jan-03 0:58 
GeneralRe: XML DOM - getting a child node by name using visual C++ Pin
Stefan Pedersen13-Jan-03 1:24
Stefan Pedersen13-Jan-03 1:24 
GeneralWeb Server in Router Network Pin
Aidman11-Jan-03 18:52
Aidman11-Jan-03 18:52 
GeneralQuestions about COleCurrency Pin
Abin11-Jan-03 15:30
Abin11-Jan-03 15:30 
GeneralI do not want to save NULL into a file. Pin
Tomohiro11-Jan-03 15:02
Tomohiro11-Jan-03 15:02 
GeneralRe: I do not want to save NULL into a file. Pin
Christian Graus11-Jan-03 15:23
protectorChristian Graus11-Jan-03 15:23 
GeneralRe: I do not want to save NULL into a file. Pin
Chris Losinger11-Jan-03 16:19
professionalChris Losinger11-Jan-03 16:19 
GeneralRe: I do not want to save NULL into a file. Pin
Tomohiro11-Jan-03 16:50
Tomohiro11-Jan-03 16:50 
GeneralRe: I do not want to save NULL into a file. Pin
Ben Burnett12-Jan-03 17:14
Ben Burnett12-Jan-03 17:14 
GeneralRe: I do not want to save NULL into a file. Pin
David Chamberlain13-Jan-03 4:01
David Chamberlain13-Jan-03 4:01 
GeneralStandard HTTP Characters :: Winsock Pin
valikac11-Jan-03 11:50
valikac11-Jan-03 11:50 
GeneralRe: Standard HTTP Characters :: Winsock Pin
Stefan Pedersen11-Jan-03 12:18
Stefan Pedersen11-Jan-03 12:18 
GeneralRe: Standard HTTP Characters :: Winsock Pin
valikac11-Jan-03 12:26
valikac11-Jan-03 12:26 
GeneralTemplate classes in VS Pin
jparsons11-Jan-03 10:45
jparsons11-Jan-03 10:45 
GeneralRe: Template classes in VS Pin
Christian Graus11-Jan-03 12:00
protectorChristian Graus11-Jan-03 12:00 

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.