• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Winres.h - Anyone has it?

Dankoo

Active Member
Joined
Sep 4, 2010
Messages
1,007
Reaction score
27
I'm trying to compile TFS 0.4

Now it's asking for -lcryptopp, and I have to create this dll, I downloaded Crypto ++ already but can't in any means compile the dll from it, because I need winres.h lol

I'm using Visual C++ Studio 2008 Express Edition
 
VC++ Express edition has no ATL and MFC support. But “winres.h” is a part of MFC header files, thus, there is no “winres.h” on your computer. However, “winresrc.h” is just a part of platform SDK header files, as you have installed Platform SDK; it exists on your computer.
 
Last edited:
Courtesy of wine

/*
* Copyright (C) 2002 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/

#ifndef _WINRESRC_
#define _WINRESRC_

#ifndef WINVER
#define WINVER 0x0500
#endif

#ifndef _WIN32_IE
#define _WIN32_IE 0x0501
#endif

#ifndef _WIN32_WINDOWS
#define _WIN32_WINDOWS 0x0410
#endif

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif

#include <winuser.rh>
#include <commctrl.rh>
/* FIXME: #include <dde.rh> */
/* FIXME: #include <winnt.rh> */
#include <dlgs.h>
#include <winver.h>

#endif /* _WINRESRC_ */

Courtesy of Koders search

/*++

Copyright (c) 1990-1999 Microsoft Corporation

Module Name:

winresrc.h

Abstract:

This module defines the 32-Bit Windows resource codes.

Revision History:

--*/

#ifndef _WINRESRC_
#define _WINRESRC_

#ifndef WINVER
#define WINVER 0x0500
#endif

#ifndef _WIN32_IE
#define _WIN32_IE 0x0501
#endif

#ifndef _WIN32_WINDOWS
#define _WIN32_WINDOWS 0x0410
#endif

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif

#include <winuser.rh>
#include <commctrl.rh>
#include <dde.rh>
#include <winnt.rh>
#include "dlgs.h"
#include "winver.h"

#endif /* _WINRESRC_ */
 
Last edited:
Courtesy of wine



Courtesy of Koders search

Both of them I receive this message:

1>.\winres.h(43) : fatal error RC1004: unexpected end of file found

I have one winres, from Koders Search, it almost works, but I receive some error messages, like this:

1>.\cryptopp.rc(20) : error RC2144 : PRIMARY LANGUAGE ID not a number
1>.\cryptopp.rc(29) : error RC2135 : file not found: VS_VERSION_INFO
1>.\cryptopp.rc(30) : error RC2135 : file not found: 5
1>.\cryptopp.rc(31) : error RC2135 : file not found: 5
1>.\cryptopp.rc(32) : error RC2135 : file not found: 0x3fL
1>.\cryptopp.rc(38) : error RC2135 : file not found: FILEOS
1>.\cryptopp.rc(39) : error RC2135 : file not found: 0x2L
1>.\cryptopp.rc(42) : error RC2164 : unexpected value in RCDATA
1>.\cryptopp.rc(44) : error RC2135 : file not found: BLOCK
1>.\cryptopp.rc(46) : error RC2135 : file not found: VALUE

Trying to compile in Visual C++ 2008 Express Edition
 
Back
Top