Click here to Skip to main content
15,894,907 members
Home / Discussions / Mobile
   

Mobile

 
QuestionWhich .net compact frame work is uesd for WindowsCE 6.0 Pin
yrishi2-Apr-09 23:27
yrishi2-Apr-09 23:27 
AnswerRe: Which .net compact frame work is uesd for WindowsCE 6.0 Pin
~Khatri Mitesh~3-Apr-09 0:56
~Khatri Mitesh~3-Apr-09 0:56 
GeneralRe: Which .net compact frame work is uesd for WindowsCE 6.0 Pin
yrishi3-Apr-09 1:53
yrishi3-Apr-09 1:53 
GeneralRe: Which .net compact frame work is uesd for WindowsCE 6.0 Pin
~Khatri Mitesh~3-Apr-09 5:38
~Khatri Mitesh~3-Apr-09 5:38 
GeneralRe: Which .net compact frame work is uesd for WindowsCE 6.0 Pin
yrishi3-Apr-09 20:08
yrishi3-Apr-09 20:08 
AnswerRe: Which .net compact frame work is uesd for WindowsCE 6.0 Pin
Deepali Khalkar5-Apr-09 6:45
Deepali Khalkar5-Apr-09 6:45 
GeneralRe: Which .net compact frame work is uesd for WindowsCE 6.0 Pin
yrishi5-Apr-09 17:46
yrishi5-Apr-09 17:46 
QuestionContent-type MIME header leads to problems when using pIXMLHTTPRequest [modified] Pin
Member 28725532-Apr-09 22:29
Member 28725532-Apr-09 22:29 
Hi!

Im developing in for windows mobile 6 and Im using native C++ code with msxml2.h, to receive xml objects from RSS.
When an rss-server doesnt send out a header content-type with MIME-type of xml (like "Content-Type: text/xml") I get problems when trying to fetch the xml object from the request object (pIXMLHTTPRequest->responseXML;) and the xml doesnt seem to include any tree-data.

I can still see the actual source-xml data through pIXMLHTTPRequest->GetresponseText();
When the content-type header is set to an xml mime-type I can retrieve the tree-structure from pIXMLHTTPRequest->responseXML. One solution would be to change the server content-type but that is not always possible, and content type from rss is nowadays "application/rss+xml".

Example theese 2 rss are identical but only one is fetched correctly in responseXML

http://91.90.27.250/panel/working.php
http://91.90.27.250/panel/notworking.php


My code is basically (the rss includes "item" tags)

HRESULT hr;
MSXML2::IXMLDOMDocumentPtr pXMLDoc = NULL;
MSXML2::IXMLHTTPRequestPtr pIXMLHTTPRequest = NULL;
hr=pIXMLHTTPRequest.CreateInstance("Msxml2.XMLHTTP");
hr = pIXMLHTTPRequest->open("GET", L"http://test/~joynes/rssValid.php", false);
hr = pIXMLHTTPRequest->send();

pXMLDoc=pIXMLHTTPRequest->responseXML;

MSXML2::IXMLDOMNodeListPtr nlItems;
nlItems = pXMLDoc->getElementsByTagName("item");
MSXML2::IXMLDOMNodePtr nodeItem2;

while(SUCCEEDED (nodeItem2 = nlItems->nextNode()) && nodeItem2 != NULL)
{
printf("SUCCESS!!!!!\n");
}


/Br Johannes

modified on Friday, April 3, 2009 8:43 AM

QuestionTransfer of SQL server database to Windows Mobile 6.0 Pin
Deepali Khalkar2-Apr-09 6:27
Deepali Khalkar2-Apr-09 6:27 
AnswerRe: Transfer of SQL server database to Windows Mobile 6.0 Pin
PavanPareta2-Apr-09 8:32
PavanPareta2-Apr-09 8:32 
GeneralRe: Transfer of SQL server database to Windows Mobile 6.0 Pin
Deepali Khalkar3-Apr-09 0:32
Deepali Khalkar3-Apr-09 0:32 
GeneralRe: Transfer of SQL server database to Windows Mobile 6.0 Pin
~Khatri Mitesh~3-Apr-09 0:54
~Khatri Mitesh~3-Apr-09 0:54 
QuestionPassing multiple parameters to query which count number of rows Pin
Deepali Khalkar2-Apr-09 3:13
Deepali Khalkar2-Apr-09 3:13 
Questionhow to Update my project from web Pin
~Khatri Mitesh~1-Apr-09 19:47
~Khatri Mitesh~1-Apr-09 19:47 
AnswerRe: how to Update my project from web Pin
PavanPareta2-Apr-09 10:13
PavanPareta2-Apr-09 10:13 
GeneralRe: how to Update my project from web Pin
~Khatri Mitesh~3-Apr-09 0:52
~Khatri Mitesh~3-Apr-09 0:52 
GeneralRe: how to Update my project from web Pin
PavanPareta3-Apr-09 7:09
PavanPareta3-Apr-09 7:09 
QuestionWin ce 6.0 [modified] Pin
hemachavan1-Apr-09 3:57
hemachavan1-Apr-09 3:57 
QuestionHow to get drive free space in smart device application [modified] Pin
yrishi1-Apr-09 2:49
yrishi1-Apr-09 2:49 
AnswerRe: How to get drive free space in smart device application Pin
PavanPareta2-Apr-09 8:46
PavanPareta2-Apr-09 8:46 
GeneralRe: How to get drive free space in smart device application Pin
yrishi2-Apr-09 18:59
yrishi2-Apr-09 18:59 
GeneralRe: How to get drive free space in smart device application Pin
yrishi29-Apr-09 0:58
yrishi29-Apr-09 0:58 
QuestionMenu bar not display Pin
zakkas248331-Mar-09 20:02
zakkas248331-Mar-09 20:02 
Questionpopup notification Pin
yrishi31-Mar-09 2:41
yrishi31-Mar-09 2:41 
AnswerRe: popup notification Pin
Joel Ivory Johnson31-Mar-09 10:34
professionalJoel Ivory Johnson31-Mar-09 10:34 

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.