[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Development
. . -> [Subject]  Can't send command after compiling under Windows 7 / Visual Studio 14
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Can't send command after compiling under Windows 7 / Visual Studio 14

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Vbeau   (5 posts)  [Biography] bio
Date Fri 12 Aug 2016 06:23 AM (UTC)

Amended on Tue 16 Aug 2016 08:32 AM (UTC) by Vbeau

Message
I get the source code from this link:
https://github.com/nickgammon/mushclient/archive/master.zip
The compiling is successful under Windows 7 / Visual Studio 14, but can't send command in world. The problem occured previously, referring to http://www.gammon.com.au/forum/?id=11983
Strangerly, there is no such problem in the release distribution of MUSHclient v5.02. It is worth mentioning, the size of MUSHclient.exe in the release distribution is 3.17MB, however the size of my WinRel MUSHclient.exe is 6.22MB.
Would you please tell me the reason why can't send command in world and the difference between the release distribution and my WinRel MUSHclient.exe?
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Fri 12 Aug 2016 06:43 AM (UTC)
Message
I can't really explain this, except maybe this is a Unicode issue. You could try changing the build options (to what, I don't know).

Are you typing English text, or Chinese or something different?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Vbeau   (5 posts)  [Biography] bio
Date Reply #2 on Fri 12 Aug 2016 08:17 AM (UTC)

Amended on Fri 12 Aug 2016 08:40 AM (UTC) by Vbeau

Message
The game world is a Chinese MUD. I am typing English text as well as Chinese, nevertheless I cannot send the commands to the MUD server. Echo of commands and receiving from MUD server is right.
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Tue 16 Aug 2016 04:20 AM (UTC)
Message
I can't explain that. I recompiled the code under Visual Studio 14 as described in the link below and it worked OK:

http://www.gammon.com.au/forum/?id=13695

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Vbeau   (5 posts)  [Biography] bio
Date Reply #4 on Tue 16 Aug 2016 08:30 AM (UTC)
Message
The size of MUSHclient.exe in the release distribution is 3.17MB, while the size of my WinRel MUSHclient.exe is 6.22MB.
Would you please tell me the size of your WinRel MUSHclient.exe?
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Tue 16 Aug 2016 08:41 PM (UTC)
Message
Using the latest current version (5.02) I get this:


  • WinRel / MUSHclient.exe: 6583 KB
  • WinDebug / MUSHclient.exe: 14981 KB


Both connect OK and I can type commands in (and have them sent and acted on).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Vbeau   (5 posts)  [Biography] bio
Date Reply #6 on Wed 17 Aug 2016 01:11 PM (UTC)
Message
Excuse me, may I know why the size of MUSHclient.exe in the release distribution is 3.17MB and smaller than the WinRel MUSHclient.exe?
[Go to top] top

Posted by Fiendish   USA  (1,641 posts)  [Biography] bio   Global Moderator
Date Reply #7 on Wed 17 Aug 2016 02:33 PM (UTC)

Amended on Wed 17 Aug 2016 02:41 PM (UTC) by Fiendish

Message
Because the release versions are not compiled with VS14, but with VS6 which made smaller executables.

See, for instance: https://tedwvc.wordpress.com/2010/05/26/statically-linked-release-mfc-exe-size-in-visual-c-2010-vs-2008/

Microsoft's response with suggestions: https://blogs.msdn.microsoft.com/vcblog/2012/02/06/reducing-the-size-of-statically-linked-mfc-applications-in-vc11/

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #8 on Wed 17 Aug 2016 08:41 PM (UTC)
Message
It doesn't matter that much, with PCs these days having a GB of RAM or more.

However it is rather amusing that the new "improved" compiler generates code that is twice as big.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] 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.


3,013 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] 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.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]