VOGONS


First post, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie

Hello, I noticed the internal program information for DosBox in Windows is included in the source, but it's never used in the compiled .exe, it's missing a simple line: #include <Windows.h>, it should be:

[...]
#include <Windows.h>

// version resource
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,74,0,0
PRODUCTVERSION 0,74,0,0
[...]

It doesn't affect functionality one way or another, but if it's there...why not use it?

Reply 2 of 6, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie

The source I got from SVN and the fact that if I right click on the official build the information does not show, and also, here: http://msdn.microsoft.com/en-us/library/aa381058.aspx; but if it bothers you, sorry, just trying to help.

Reply 3 of 6, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The source I got from SVN

What SVN?

VS_VERSION_INFO is defined through the present include in the resource file,
and file detail information works fine for me both with my vs compiled executable
as well as the 0.74 release.

Reply 6 of 6, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie
ripa wrote:

I had to delete #include "afxres.h" (or replace it with #include "windows.h") in winres.rc in order to compile in Visual Studio Express.

Probably because Express editions don't include MFC.