8 votes
fixed
VersionFileDialog fails in x64

Description

 
Problem contain attempting to use CCNetConfig on Win64.

THe latest build will run, and allow you to select a config file & version, but crashes immediately after that.

System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.FileInfo..ctor(String fileName)
at CCNetConfig.UI.MainForm.OpenConfigurationFile()
at CCNetConfig.UI.MainForm.openConfigurationToolButton

THe crash happens in OpenConfigurationFile, by the lines
CreateConfigurationNode ( vfd.SelectedVersion );
this.addProjectToolButton.Enabled = true;
FileInfo file = new FileInfo ( vfd.FileName );
if ( file.Exists ) {


vfd.FileName is null. As far as I can deduce, the HandleNotifyMessage of VersionFileDialog just doesn't work in x64 (so _fileNames is never filled, so FileName is always null).

File Attachments


No files are attached


Comments

most recent at top (show oldest at top)
dodgyrabbit wrote Jun 25 at 2:56 AM
Seems like this is still an issue when running it on a 64 bit machine... but you can work around it.
Force the program to run in 32 bit mode on a 64 bit machine. Simply execute this from the command line:
corflags CCNetConfig.exe /32bit+

Alternatively, compile from source and set the target as x86.

You can find corflags.exe under C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin or something similar.

wrote Dec 7 2008 at 9:13 PM
Associated with changeset 44644.

camalot wrote Nov 21 2008 at 4:01 AM
As I do not have an x64 processor, and no one with one offered up any support, I am sorry to say that this has been sitting here. I know the issue is still present and I should have an x64 by the end of the month that should allow me to start to try and tackle this one.

allender wrote Nov 14 2008 at 4:20 AM
any update on the x64 issue? It's been over a year :-( The same problem still exists in the VersionFileDialog

the_skipster wrote Oct 24 2007 at 5:35 AM
Might be able to find some insight here:

http://www.codeproject.com/cs/miscctrl/CustomizeFileDialog.asp

JamesCurran wrote Jun 7 2007 at 8:04 PM
Note, the first two words of the original description should be "Problems continue" (ok, so I can't type...)

And I guess you can see now what motivated my other issue: Fixing VersionFileDialog would probably be just as big a task as removing it.

And x64 support is important. CCnet is intended to be run a remote/rack-mounted/back-office server and those machines will be increasingly 64-bits in the coming years.

camalot wrote Jun 7 2007 at 6:16 PM
ok, I will see if i can address this issue ASAP

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987