CEImageDiff Updated.


I’ve been trying to track down the reason for the exception in CEImagDiff, one of the blog readers e-mailed me a sample PBXML file that caused the tool to crash – after some swift debugging I found the issue and have updated the tool – let me know whether the new download works for you.


– Mike


 

Comments (5)

  1. JL says:

    I get an unhandled exception error:

    ************** Exception Text **************

    System.Data.OleDb.OleDbException: ‘C:WINCE500PUBLICCOMMONOAKCATALOGDATABASEpbdb.mdb’ is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

    I think there is a missing between WINCE500 and PUBLIC.

  2. mikehall says:

    ok, can I get you to check the following…

    HKEY_CURRENT_USERSoftwareMicrosoftPlatform Builder5.00Directories

    and the key – OS Install Dir.

    If this doesn’t have a training backslash then I will check for this and post an update tomorrow morning.

    – Mike

  3. JL says:

    No, it doesn’t have a trailing backslash.

    But after adding the backslash everything works fine.

  4. Matt says:

    Use System.IO.Path.Combine to build paths rather than rolling your own path builder – then you won’t get this kind of issues.

  5. mikehall says:

    Matt – thanks for that, I didn’t even know this existed… Swapping out the code now.

    – Mike