+#else
+ //Windows CE does not have normal ShellExecute - but it has
+ //ShellExecuteEx all the way back to version 1.0
+
+
+ //Set up the SHELLEXECUTEINFO structure to pass to ShellExecuteEx
+ SHELLEXECUTEINFO sei;
+ sei.cbSize = sizeof(SHELLEXECUTEINFO);
+ sei.dwHotKey = 0;
+ sei.fMask = 0;
+ sei.hIcon = NULL;
+ sei.hInstApp = NULL;
+ sei.hkeyClass = NULL;
+ // Not in WinCE
+#if 0
+ sei.hMonitor = NULL;
+#endif
+ sei.hProcess = NULL;
+ sei.hwnd = NULL;
+ sei.lpClass = NULL;
+ sei.lpDirectory = NULL;
+ sei.lpFile = finalurl.c_str();
+ sei.lpIDList = NULL;
+ sei.lpParameters = NULL;
+ sei.lpVerb = TEXT("open");
+ sei.nShow = SW_SHOWNORMAL;
+
+ //Call ShellExecuteEx
+ ShellExecuteEx(&sei);
+
+ //Get error code
+ nResult = (int) sei.hInstApp;
+#endif