Quentin,
I am confused as I have never seen such strange behavior of the XPE Tools.
Well.. I think you can only help yourself unless MS already knows about
this bug and jumps in here with some comments.
I know that Regmon/FileMon logs maybe big and painful to review but it
seems to be the only way for you to quickly sniff around the
issue. Other way would be in using a debugger (e..g, VS Debugger) but it
is going to be another story.
In the logs try to look for registry entry access under Window Embedded
keys (the root keys I mentioned earlier). The same for
files - see if there is any failures in accessing files under "\Program
Files\Windows Embedded" and "\Program Files\Common
Files\Microsoft Shared\Windows Embedded".
Another thing you could do if you happened to have another machine with
XPE ToolKit installed. Detach the Mantis DB using SQL
Enterprise Manager (thing comes with full SQL Server installation, not
MSDE though), then save the files and replace them with the
same files from that another dev machine. Attach the db again and try to
run CD/CDM. If works - your problems are around the DB.
The same trick you can do replacing all the XPe binaries (under the folder
mentioned above) from another working dev machine with
XPe installed. This way you can find out if CD or CDM binaries got broken
(very rarely but it might happen).
--
Regards,
KM, BSquare Corp.
Ok, here's some more interesting information: I cannot even run the
Component Database Manager. When I launch dbmgr.exe it shows up in the
task
list and then 5 seconds later disappears. No window, no nothing.
Quentin.
Quentin said:
KM,
If I re-install the db will I loose all changes that I have made so
far?
I ran Regmon/Filemon, but without knowing what to look for, it's a
little
hard to find the problem. Nothing in their logs jumped out at me as
being
suspicious.
I tried econvert.exe as suggested. econvert created an SLD file no
problem, but when I went to open that file in CD, CD died (as before).
So
maybe the problem isn't actually the inf importer? I'm going to
attempt
to import the raw SLD file created from econvert into my db and see if
I
can continue working that way. Either way, I'd still like to solve
this
problem.
Any other ideas?
Quentin.
Quentin,
If it is the DB, you will have to re-install it.
Try to run Regmon/Filemon while you hit Close on the Import File. I
doubt
they will help you to solve the problem but at least you
gather more info.
Also, try to use "\Program Files\Windows
Embedded\utilities\econvert.exe"
tool directly to convert the INF file.
--
Regards,
KM, BSquare Corp.
Thanks for the tip KM, but unfortunately, it didn't solve my problem.
I
have tried all combinations of what you mentioned below and
uninstalling
/
reinstalling, but CD is still dying when I hit close on the "Import
File"
dialog.
Any other ideas? Perhaps my db is corrupted?
Quentin.
Quentin,
I don't know about this bug but my guess would be that CD (INF
importer,
actually) cached something that it cannot eat.
Can you delete (save it somewhere just in case) "\Documents and
Settings\All Users\Documents\imprtinf.lab" file and then try to
import an INF file again?
The location of that LAB file is actually specified in registry
under
[HKLM\SOFTWARE\Microsoft\Windows
Embedded\Importers\INF],"DefaultLAB" value.
Also, just in case, you can try deleting this reg.key:
[HKCU\Software\Microsoft\Windows Embedded\ImportFW] (please note
the
Current
User root key here).
Let us know if it helps.
--
Regards,
KM, BSquare Corp.
I'm having issues with my Component Designer.
Here's what I did:
This morning I went to create a new component to handle my
device's
touch
screen driver and after the initial import there was one problem,
CD
couldn't find "input.inf". So I copied "input.inf" from the
respository
to
the root directory of the new inf that I was trying to import and
ran
the
import again. This time there were no errors, so I clicked close,
AND CD
QUIT UNEXPECTEDLY!! Now everytime I try to import an inf, CD
quits
when
I
hit close on the import dialog.
Any ideas?
Quentin.