Gammon Forum
Entire forum
MUSHclient
General
MUSHclient Corrupt Project File
MUSHclient Corrupt Project File
|
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Artel
USA (65 posts) bio
|
Date
| Sun 27 Sep 2009 04:24 AM (UTC) |
Message
| I tried to open the MUSHclient project (downloaded from http://www.gammon.com.au/files/mushclient/src/) in Visual Studio 2008. When I go to convert it from VC++ 6 to my version, it gives me an error "Cannot load the project due to a corrupt project file."
Any ideas?
This happens on 4.40, 4.37, and 4.30. However, 4.19 does not give this error. |
Artel. | top |
|
Posted by
| Twisol
USA (2,257 posts) bio
|
Date
| Reply #1 on Sun 27 Sep 2009 04:49 AM (UTC) Amended on Sun 27 Sep 2009 04:50 AM (UTC) by Twisol
|
Message
| VC6 is just so outdated that the more recent Visual Studio version barf. I had the same problem; I had to recreate the project file myself. I'll gladly send you my project file though; if you'd like that just send me an email via my forums profile (click my name), and be sure to check "Allow reply".
See this thread as well for a lot of great advice on compiling MUSHclient from source in updated compilers:
Also, once you get it compiling properly, there's a glitch I'd really appreciate you checking out. If I run my compiled MUSHclient, connect, then disconnect, it crashes in a TFormat() function. If that happens to you as well I'd appreciate it if you could let us know!
EDIT: Also, I use VS2005 rather than 2008, but I would imagine that 2008 could convert from 2005-format... |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | top |
|
Posted by
| Artel
USA (65 posts) bio
|
Date
| Reply #2 on Sun 27 Sep 2009 05:08 AM (UTC) |
Message
| The problem was the line endings of the project file as was mentioned in the thread you linked.
It opens now. Thanks! |
Artel. | top |
|
Posted by
| Twisol
USA (2,257 posts) bio
|
Date
| Reply #3 on Sun 27 Sep 2009 09:27 AM (UTC) |
Message
| Oh.
Well I feel stupid now. Maybe I should try that too. =/
My request still stands on the glitch, if you get to that point. >_> |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | top |
|
Posted by
| Nick Gammon
Australia (22,975 posts) bio
Forum Administrator |
Date
| Reply #4 on Sun 27 Sep 2009 11:33 AM (UTC) |
Message
|
Twisol said:
Also, once you get it compiling properly, there's a glitch I'd really appreciate you checking out. If I run my compiled MUSHclient, connect, then disconnect, it crashes in a TFormat() function. If that happens to you as well I'd appreciate it if you could let us know!
Do you get any warnings? When I compile I get no warnings at all. If they have changed the way something works, the warnings might point to what that is. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Artel
USA (65 posts) bio
|
Date
| Reply #5 on Sun 27 Sep 2009 10:48 PM (UTC) |
Message
| So the good news is that I got the source to compile with VS 2008. I'm still using 4.40-- I haven't tried updating with the diffs yet.
The bad news is that I get the same crash that you get, Twisol. I haven't had time to look at it yet, and I think I'll work on some of the warnings and update to 4.43 first when I have time.
I get 513 warnings, but almost all of them are related to conversions. |
Artel. | top |
|
Posted by
| Twisol
USA (2,257 posts) bio
|
Date
| Reply #6 on Mon 28 Sep 2009 03:36 AM (UTC) Amended on Mon 28 Sep 2009 03:38 AM (UTC) by Twisol
|
Message
| Ditto, most (if not all) of the warnings I get are type-conversion related. We've discussed the bug a bit more in later parts of the Helping Out thread, for reference. It's dying in Microsoft code, in GetFormattedLength... but if I try the exact same method call in, say, the initialization code, it works fine.
It seems to be barfing on the last %s in the line. Maybe it's not getting passed anything at all for that argument? Unfortunately I have no idea how to examine varargs data, so I couldn't say what's really going on. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | top |
|
Posted by
| Twisol
USA (2,257 posts) bio
|
Date
| Reply #7 on Fri 09 Oct 2009 05:37 PM (UTC) |
Message
| Artel - Check out the second page of this thread[1], I finally figured out what was causing the crash. Just requires a couple typecasts :)
[1] http://www.gammon.com.au/forum/?id=9742&page=2 |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
19,812 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.