Re: XSL and Windows CE Blues



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 your
ceconfig.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.



.



Relevant Pages

  • Re: .Net 2.0, .Net 3.0 and .Net 3.5 Upgrade
    ... but you do not have to install it separately. ... There are a few areas where you can break an app with 3.x, but all that I know involve extra bits, like ASP.NET AJAX, and can be solved by updating references in the web.config file. ... Subscribe to my blog ... "Paul" wrote in message ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cant get outlook express for SERVICE PACK 2, so how do I get i
    ... My Blog, Defending Your Machine, ... been there done that but no matter what I try to install XP service ... once had in Outlook Express but imported to Outlook and archived! ...
    (microsoft.public.windowsxp.general)
  • Re: OUTLOOK EXPRESS SPELLCHECK
    ... went back to the blog page of course there was the relevant item. ... folders/files are the English dictionary. ... that Outlook Express doesn't understand the new English Proofing Tools. ... The workaround for this problem is to install the English dictionary ...
    (microsoft.public.office.misc)
  • Re: SQL Server Accelerator for Business Intelligence 1.2 - installer does not detect Office SP1
    ... derecho / This posting is provided "AS IS" with no warranties, ... > The only time this is used is during install time (again I can speak for ... >> Blog: http://sqljunkies.com/weblog/gux/ ... >> MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera ...
    (microsoft.public.sqlserver.olap)
  • Re: BLOG: What Would You Recommend For A Blogging System?
    ... > the Linux server I use the Linux server for a ... > serve the blog pages from my Linux server, ... what are called offline blog clients or clients which don't depend on a ... A test install can be done very quickly and you could see ...
    (comp.os.linux.misc)