FORUMS

Samsung Galaxy S6 To Receive Major Camera Update

When the Samsung Galaxy S6 and S6 Edge were launched, they became the prime focus for … more

Tactile: An Addicting Game with Beautiful Material Design

The game industry has been around for decades, catering to a wide … more

Android’s Consistency and The User Experience

This is a site of power users, and it is fair to say that most of us are more … more

Which Manufacturer (And Device) Made You Choose Android?

The beautiful thing about Android is that there is so much to choose from. … more
Post Reply Subscribe to Thread Email Thread

OziExplorerCE: Registration key reset turning off the GPS

28th September 2007, 10:08 PM |#1  
OP Junior Member
Thanks Meter: 0
 
More
Hello,
I installed OziCe in my GPS Invion (wince 4.2 loaded from SD card). It
works fine but, every time I turned on the GPS, OziCE asks to re-enter
the registration code. All the other configuration are correctly
reloaded, togheter with last used map.
No problem exiting and restarting OziCE, when the GPS remains active.
It seems that OziCE saves the registration code in same 'volatile'
memory, not flashed at hard shutdown.
I tried to check the registry, comparing them with remote tools before
and after starting OziCE, but I foung nothing.
Does anyone know a way to solve or workaround the problem?
Thanks, Filippo
 
 
4th October 2007, 08:33 AM |#2  
OP Junior Member
Thanks Meter: 0
 
More
Found a solution
Hello,
for who may be intersted, I found a way to workaround the issue writing a MortScript (download the interpreter and instructions from http://www.sto-helit.de/).
This is the script I wrote; obviously you have to change the OziCE username and password and the path to OziExplorerCE.exe.
After insatalled and registered MortScript, copy the script in a .mscr file in the device. Executing the script would start OziCE inserting the registration code (if needed).
Ciao.

#OZI CE start

regName = "MyOZICeUserName"
regKey = "MyOZICeRegistrationCode"

WindowTitle="Inserisci Codice di Registrazione"
EngWindowTitle="Enter Registration Code"
OKWindow="OziExplorer"

ozipath = "\SDMMC DISK\WINCE\programfile\ozi_1.12.3\COMMON\OziExplor erCE.exe"

nLoops = 200

Run(ozipath )

#WaitFor(WindowTitle, 5) #returns timeout error if not found...
i=0
While ((ActiveWindow() ne WindowTitle AND ActiveWindow() ne EngWindowTitle) && i<nLoops)
Sleep(50)
i=i+1
EndWhile


if (WndActive(WindowTitle)=1 OR WndActive(EngWindowTitle)=1)
actWin = ActiveWindow()
SendKeys(actWin, regName)
SendTab(actWin)
SendKeys(actWin, regKey)
SendCR(actWin)

#WaitFor(OKWindow, 5)
i=0
While (ActiveWindow() ne OKWindow && i<nLoops)
Sleep(50)
i=i+1
EndWhile

if (WndActive(OKWindow)=1)
SendOK(OKWindow)
EndIf
EndIf
18th November 2007, 11:51 AM |#3  
Junior Member
Thanks Meter: 0
 
More
using mortscript to enter OZICe on a windows CE 4.2 device
Filippo, nice work!

That mortscript you wrote works a treat on my navigation box.

I was unable to work out how to do a cab instal of mortscript. My navigation box won't start .cab files. So I need to run the bin:version of mortscript first for the Device binaries (whatever that means) and then I can run your mortscript. Love watching mortscript typing in my name and code.

OziCe now asks for ECW.dll - where does that file come from and where should it be? in windows? in storage card root? in oziexplorer folder on storage card? in nandflash?
Last edited by willywoolly; 18th November 2007 at 12:04 PM.
23rd February 2012, 07:37 PM |#4  
jwoegerbauer's Avatar
Senior Member
Bavaria (Germany)
Thanks Meter: 205
 
More
OziExplorerCE: Preventing registration key reset turning off the GPS
Please apologize warming up this thread, but thought I'ld share my solution here.

1. OziExplorer stores user-registration data in file named 'gihobj.dll' in OS's folder \Windows.
2. Hence you backup once this 'gihobj.dll' , then always copy it to \Windows before you start OzExplorer.

I suggest to use a wrapper script as following to start OziExplorer:
Code:
#OziExplorer Launcher
#This script must be located in OziExplorer's installation folder
#or you have to alter the OziExplorer 'ozipth' below!

Local()
ozipth=SystemPath("ScriptPath")
oziexpl="OziExplorerCE.exe"
regdata="gihobj.dll"
winregfile="\Windows\"&regdata
bkupregfile=ozipth\regdata
#check existence of registration data
If(FileExists(winregfile))
	#OK, run OziExplorer
	Run(ozipth\oziexpl)
ElseIf(FileExists(bkupregdata))
	#OK, but in wrong folder, hence copy registration 
	#data to \Windows, then run OziExplorer
	Copy(bkupregdata,winregdata,1)
	#wait max. 2 secs 
	cnt=0
	While((NOT FileExists(winregdata))&&(cnt<20))
		cnt+=1
		Sleep 100
	EndWhile
	Run(ozipth\oziexpl)
Else
	#not OK, hence start OziExplorer with entering user-registration data
	RunWait(ozipth\oziexpl)
	#backup OziExplorer's registration data
	If(FileExists(winregdata))
		Copy(winregdata,bkupregdata,1)
	EndIf
EndIf
HTH
29th February 2012, 04:31 PM |#5  
Junior Member
Thanks Meter: 0
 
More
OziExplorerCE: Preventing registration key reset turning off the GPS
Hello,

I have an old pda with WindowsCE 2002 installed.
Can everyone drive me applying the suggest of jwoegerbauer?
I can't find the file 'gihobj.dll' I think because I don't see the hidden files so:

1. how can I see the hidden files.
2. how can I create the script file? is it a batch file?


many thanks at all,
mimmolo
4th March 2012, 11:34 AM |#6  
jwoegerbauer's Avatar
Senior Member
Bavaria (Germany)
Thanks Meter: 205
 
More
Quote:
Originally Posted by mimmolo

Hello,

2. how can I create the script file? is it a batch file?

mimmolo

All you need is MortScript: http://www.sto-helit.de/index.php?mo...n=view&menu=29
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes