Opened 14 years ago
Closed 13 years ago
#1733 closed defect (fixed)
ConvertResX.exe runtime error.
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | Maestro-3.5 |
Component: | Maestro | Version: | |
Severity: | trivial | Keywords: | |
Cc: | pcardinal | External ID: |
Description
Snip of email I received
I am trying to convert the French files from the previous release 2.0 with the following command “H:\MaestroDev-3.0\Localization>ConvertResX.exe H:\MaestroDev\Localization\fr-FR\Maestro” but it always produces an error: Exception non gérée : System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d'accès 'C:\Users\Kenneth\Documents\Maestro\Localization\fr-FR'. à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) à System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) à System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption ) à System.IO.Directory.GetDirectories(String path) à ConvertResX.Program.GetFormFiles(String basefolder, String language) à ConvertResX.Program.Main(String[] args) Do you have any idea where is the problem. How come ConvertResX.exe is searching in 'C:\Users\Kenneth\Documents\Maestro\Localization\fr-FR'?
Disassembling the source reveals that this directory is hard-coded into the application. Investigate the location of the original source. Otherwise if all else fails. Rewrite the application from scratch using the disassembled output as a guide.
Note:
See TracTickets
for help on using tickets.
Fixed r6052