Contents
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
Search
Login
Who Is Online?
We have 178 guests online
Navigation
Home Forum
Most Recent
Featured Articles
Joomla 1.5 Featured Articles
Navigation
Home Forum
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
Welcome, Guest
Please Login or Register.    Lost Password?
Support forum for the Descent 3 dedicated server tool D3Server3 for Windows (www.dateiliste.com/descent-3/58-descent-...t-3-server-tool.html).

The Descent 3 Server Operator Board is at Descentforum.net (www.descentforum.net/ServerOps). There's also a board to discuss the software's source code.
Go to bottomPage: 12
TOPIC: MSVC 2017
#2406
MSVC 2017 2019-06-22 21:56, 1 Month, 3 Weeks ago Karma: 7
I got D3Server3 to build with MSVC 2017 yesterday after having upgraded it to MSVC 2015 a couple of years ago.

I'm not saying that the transition to MSVC 2015 was only a few minutes work but the transition to 2017 turned out to be half a nightmare.

A CString can now not be used as drop-in replacement for a char * or a const char *.

This worked with MSVC 2015:

Code:

CString c = "Hi MSVC 2015!";
printf ("%s", c);



Now, with MSVC 2017 it's got to be:

Code:

CString c = "Hi MSVC 2017";
printf ("%s", c.GetBuffer ());



It took me several hours to go through all the code and change that stuff. Anyway, now it builds with MSVC 2017.
Thomas
Thomas
Platinum Boarder
Posts: 982
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2408
Re: MSVC 2017 2019-06-27 16:05, 1 Month, 3 Weeks ago Karma: 0
What is 'Cstring' anyway? :-p
All that stuff, QT-like and others, - not speaking about the one you using, - are way too outdated.
I have no idea what to use today though.
www.reddit.com/r/cpp/comments/5rf3ax/wha...w_gui_library_for_c/
Anyway, QT was outdated all the time: it was proprietary-licensed (even though being open source), it was huge.
It was so huge, so I can't even look into its API to judge its reasonability.
alexi
alexi
Expert Boarder
Posts: 110
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2409
Re: MSVC 2017 2019-06-27 21:25, 1 Month, 3 Weeks ago Karma: 7
D3Server uses the MFC. not Qt or any other library.

However, Qt is certainly not outdated. It is a great framework and it is platform independent. MFC is bound to Windows as far as I remember unless it's been ported to other platforms already.

The CString class belongs to MFC. Until recently you could always refer to a char * version of the underlying string when using the object itself.

This is now obviously not possible anymore.
Thomas
Thomas
Platinum Boarder
Posts: 982
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2410
Re: MSVC 2017 2019-07-02 01:40, 1 Month, 2 Weeks ago Karma: 0
I hardly could imaging the reason to protect the framework which is useless for me.
Especially by people who don't use it

Not only useless, but detrimental.
It is taking space in Internet, - it is popular.
While it is present, it shades better ones, reducing their popularization.
Thus, their further development.
Particularly, you didn't mention any other framework; and if it is because you couldn't, then that is the result of its presence and an example of its harm.

I though could re-express myself a different way: independently on the presence of QT, another framework needs to be created (or, if it already exists, made popular so I could find it).
alexi
alexi
Expert Boarder
Posts: 110
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2411
Re: MSVC 2017 2019-07-08 19:22, 1 Month, 1 Week ago Karma: 7
Well, for D3Server, Hunter picked the MFC, not me.

At that time it was quite a good GUI framework, if not the best. I think it's still very good compared to others as it comes with almost no performance penalty.

For new Windows or Linux applications I'm not sure what I'd pick. The two most flexible ones, Qt and wxWidgets, are both quite heavy. Qt by the way is the native framework for KDE, so if it's for Linux only there wouldn't be any question.
Thomas
Thomas
Platinum Boarder
Posts: 982
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2412
Re: MSVC 2017 2019-07-09 13:50, 1 Month, 1 Week ago Karma: 0
You are swimming in a different sea than a programmer should.
I didn't say anything bad about D3Server being bound at MFC. Well, at least in this discussion, - earlier I possibly said something.
I am speaking about the proper frameworks to use.
Those few you only mention, deserve respect only as an initial examples of implementation of ideas. For now they have properties of a handicap, - they are an obstacles.
They are not only heavy. And the biggest their disadvantage is that they filled Internet with them and projects based on them, this way limiting your knowledge about frameworks and how they should look.
alexi
alexi
Expert Boarder
Posts: 110
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2413
Re: MSVC 2017 2019-07-09 22:03, 1 Month, 1 Week ago Karma: 7
Maybe we should create a new programming forum.
Thomas
Thomas
Platinum Boarder
Posts: 982
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2414
Re: MSVC 2017 2019-07-19 20:51, 4 Weeks, 1 Day ago Karma: 7
By the way, what's the version of MSVC you're currently using?
Thomas
Thomas
Platinum Boarder
Posts: 982
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12