[PythonCE] xml processing on PDA
Isr Gish
isrgish at fastem.com
Sun Sep 5 06:02:43 CEST 2004
Hi Ajay,
You may want to try asking this on noe of the other lists (maybe the win32 or the Tutor list).
All the best,
Isr
-----Original Message-----
>From: "Ajay"<abra9823 at mail.usyd.edu.au>
>Sent: 9/4/04 6:47:27 AM
>To: "pythonce at python.org"<pythonce at python.org>
>Subject: [PythonCE] xml processing on PDA
>
>hi!
>
>one more try - has anyone done this before? I am really struggling here.
>
>Since pythonce does not include pyexpat and the pyexpat in PyXML's version
>seems broken, i am faced with 2 choices - use python only parser such as
>pxdom (this however totally kills the efficiency) or write the xml part in
>visual c++ using msxml.
>
>I tried a python only parser, pxdom and i didn't have a result at the end
>of 10 minutes.
>
>for the past 2 hrs i have been trying to go the msxml way. i was very
>encouraged by my ability to write a few simple dll's earlier today and
>successfully call them from python. But MSXML seems an entirely different
>challenge. there is some excellent code here
>http://www.codeproject.com/soap/ce_xml.asp about doing some XML stuff for
>PDA using evc. It compiles and builds fine, trouble is the moment you add
>the Python wrappers and include Python.h, the code doesn't compile
>anymore.
>
>errors:
>
>C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5395) :
>error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
>from 'const unsigned short *' to 'const char *'
> Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5396) :
>error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
>from 'unsigned short [4]' to 'const char *'
> Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5404) :
>error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
>from 'unsigned short [100]' to 'const char *'
> Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5413) :
>error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
>from 'unsigned short [12]' to 'const char *'
> Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5414) :
>error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
>from 'unsigned short [100]' to 'const char *'
> Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5417) :
>error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
>from 'unsigned short *' to 'const char *'
> Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5420) :
>error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
>from 'unsigned short [10]' to 'const char *'
> Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>C:\Windows CE Tools\wce300\Pocket PC 2002\atl\include\atlbase.h(5421) :
>error C2664: '__WinCE_OutputDebugStringA' : cannot convert parameter 1
>from 'unsigned short [2]' to 'const char *'
> Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>stl_eVC\wce_defs.h(47) : warning C4005: 'assert' : macro redefinition
> C:\hons\pocketpc\python_ce_build\Python-2.3.4\PC\WinCE\assert.h(7)
>: see previous definition of 'assert'
>
>I think these have something to do with setting the "include" paths to
><pythonroot>/include but can't be sure.
>
>so once again, has anyone done xml stuff on a pda and used that with
>Python.
>
>thanks
>
>cheers
>
>
>
>
>
>----------------------------------------------------------------
>This message was sent using IMP, the Internet Messaging Program.
>_______________________________________________
>PythonCE mailing list
>PythonCE at python.org
>http://mail.python.org/mailman/listinfo/pythonce
More information about the PythonCE
mailing list