Thank You, John.
I thought exactly that and got a message: POLINK: error: Unresolved external symbol 'IID_IXMLDOMDocument'.
Well, add msxml2.lib on Linker page of Project options - nothing changes, error message remains the same.
msxml2.lib file, deploying with Pelles C, I found in C:\Program Files\PellesC\Lib\Win folder. There was a suspicion that its file is not for winCE, but make a copy to C:\Program Files\PellesC\Lib - nothing changes, error message remains.
Looked a msxml2.lib file - found _IID_IXMLDOMDocument string inside: is it a point of input?
Well, change EXTERN_C const IID IID_IXMLDOMDocument declaration in C:\Program Files\PellesC\Include\WinCE\msxml2.h to EXTERN_C const IID _IID_IXMLDOMDocument;
Now got a message: POLINK: warning: Invalid machine type in object 'iid_ixmldomdocument.obj'.
A code is:
#include <objbase.h>
#include <msxml2.h>
...
HRESULT hr ;
CLSID clsid;
IXMLDOMDocument* pIFace;
hr = CoInitializeEx(NULL, COINIT_MULTITHREADED );
hr = CLSIDFromProgID(L"MSXML2.DOMDocument", &clsid);
hr = CoCreateInstance(&clsid, NULL, CLSCTX_LOCAL_SERVER, &_IID_IXMLDOMDocument, (void **) &pIFace);
...
CoUninitialize();
Application starts on target devise, but CoCreateInstance returns E_NOINTERFACE as a result (hr value).
Is it because msxml2.lib, deploying with Pelles C, is NOT for ARM and/or NOT for winCE 5?
If it is that, where can I get necessary msxml2.lib file?
Really nobody worked with msxml parser on ARM+winCE devices?
P.S. Please, please help me (The Beatles :-)