Re: XSL and Windows CE Blues
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Apr 2006 10:25:24 -0700
First of all Gordon I was about to point you at
http://blogs.msdn.com/cenet/archive/2004/10/18/244143.aspx, but from your
comment on the blog I see you found it already. The blog software we use
isn't the greatest (I'm being nice) and it doesn't auto-notify me when
people post comments to the blog, which is why I try and steer folks to the
newsgroups which are much easier to check.
msxml3.dll on WinCE (and a ton of other COM objects for that matter on CE)
do not support you calling RegSvr32 on them. The idea is that the
msxml3.dll you'll get is burned in the ROM already and isn't something
you're allowed to install at runttime, so there's no point in shipping the
register/unregister code.
{CFC399AF-D876-11D0-9C10-00C04FC99C8E} corresponds to CLSID_XMLDocument,
which is not supported on WinCE. For your test, you should be using the
CLSID_DOMDocument. Also if you don't have luck using the typelib stuff, try
writing your app with "straight" COM -- msxml does seem to include its .tlb
but this hasn't been as well tested as the straight COM calls.
The reason you're not seeing msxml3.dll is most likely because it's a
system/hidden file in \windows directory. If you can see coredll.dll but
NOT msxml3.dll, then msxml3.dll isn't on your device.
From your blog post where you say you have MSXML3_XMLXSLT already in yourceconfig.h, I'm hoping you can get this working.
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
"Gordon Shirley" <gshirley@xxxxxxxxxxx> wrote in message
news:erjTA3yXGHA.3972@xxxxxxxxxxxxxxxxxxxxxxx
Here is my problem as best as I can put it:
I have a handheld device that has Windows CE on it.
The .NET Compact Framework is also installed.
I have a C# .NET Windows form app that I am writing for the handheld.
The .NET CF provides the System.Xml namespace for all my XML needs EXCEPT
XSL transforms.
I need to be able to do XSL transforms on the handheld.
I have been lead to believe by online posts that you can do XSL transforms
by including the msxml3.dll COM object as a reference.
I realize that depending on how my OS was built by the manufactor of the
device that I may have limited functionality avaliable in the installed
msxml3.dll.
I have made a test app by running the command line tool tlbimp against the
msxml3.dll installed on my PC and including the resulting
msxml3TypeLib.dll as a reference.
When I deploy and run the app on the device, I get the below message:
COM object with CLSID '{CFC399AF-D876-11D0-9C10-00C04FC99C8E}' cannot be
created due to the following error: Class not registered .
So, naturally I go to the device and try to register \windows\msxml3.dll
using regsvrce.
However, I get the below error:
\windows\msxml3.dll was loaded, but the DllRegisterServer entry point was
not found.
DllRegisterServer many not be exported, or a corrupt version of
\windows\msxml3.dll may be in memory. Consider using PView to detect and
remove it.
I search the web for an app called PView but it seems to be antiquated and
no longer available.
So, naturally I try to unregister \windows\msxml3.dll but I get the same
error but for a different entry point.
So, naturally I guess that the msxml3.dll loaded on my device is different
than the one that I have on my machine, and try to copy it over to my PC.
Turns out I can not copy the msxml3.dll installed on my device because it
is in ROM and objects in ROM can not be copied.
Here is where I got stuck.
.
- References:
- XSL and Windows CE Blues
- From: Gordon Shirley
- XSL and Windows CE Blues
- Prev by Date: Re: fopen/fwrite vs CreateFile/WriteFile in WindowsCE 5.0
- Next by Date: XML files can not be opened in IExplorer on CE .NET 5
- Previous by thread: XSL and Windows CE Blues
- Next by thread: Windows CE and XSL Blues
- Index(es):
Relevant Pages
|