DMProcessConfigXML fails while loading dlls on the windows mobile 6.5.
Posted
by jieun
on Stack Overflow
See other posts from Stack Overflow
or by jieun
Published on 2010-03-26T02:53:52Z
Indexed on
2010/03/26
3:03 UTC
Read the original article
Hit count: 244
What I want to do is uninstall my program on the device Programmatically. So I trying to use DMProcessConfigXML() as this site
It seems to work well on the emulator, but it didn't work on my device.
Application goes exit after calling DMProcessConfigXML() without return result code.
This is a part of code. after line 2, program is terminated.
const wchar_t *_deleteUninstallOFficeLiteXML =
L"<wap-provisioningdoc>"
L" <characteristic type=\"UnInstall\">"
L" <characteristic type=\"myApp\">"
L" <parm name=\"uninstall\" value=\"1\"/>"
L" </characteristic>"
L" </characteristic>"
L"</wap-provisioningdoc>";
1. HRESULT hr = E_FAIL;
2. hr = DMProcessConfigXML(_deleteUninstallXML, CFGFLAG_PROCESS, &out);
3. if (FAILED(hr))
4. { ...
Does anyone know why this happen and how to fix?
© Stack Overflow or respective owner