Themes

G

Guest

Hi All,

I want to set a Theme into Mobile 5.0.
My installer before used to work with WM 2003 using a CESetup DLL to run;

lRet = RegOpenKeyEx(HKEY_CURRENT_USER, _T("Software\\Microsoft\\Today"), 0,
0,
&hKey);
if(ERROR_SUCCESS == lRet)
{
RegDeleteValue(hKey, _T("UseStartImage"));

wcscpy(szCmdLine, _T("/safe /noui /nouninstall /delete 0 "));
wcscat(szCmdLine, pszFile);

if:):CreateProcess(_T("\\Windows\\wceload.exe"),
szCmdLine,
NULL, NULL, FALSE, 0, NULL, NULL, NULL, &pi))
{
::WaitForSingleObject(pi.hProcess, INFINITE);

RegSetValueEx(hKey, _T("Skin"), 0, REG_SZ, (BYTE*)pszFile,
sizeof(TCHAR) * (wcslen(pszFile) + 1));

RegCloseKey(hKey);
}

But this no longer works.

Any idea how to do this in Mobile 5.0?

Cheers,
James.
 
D

dingwelcome

I happened to got a similar problem in Mobile 5.0. I have an
autorun.exe which is used to execute the cab files one by one with
CreateProcess function. It works for PPC2002/2003 but it doesn't seem
to work any more on 5.0. The function returns a true value but the cab
files are not installed.

Anybody can help?

Thanks,
Ding
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top