- Use #pragma once in resource.h
- put windows.h after CRT includes.
- Convert the main .rc back to ANSI otherwise rc.exe complains, see http://stackoverflow.com/questions/15244065/error-rc2135-in-c-project-due-to-utf-8-encoding-of-rc-file for more details.

svn path=/trunk/; revision=65675
This commit is contained in:
Hermès Bélusca-Maïto 2014-12-15 20:17:17 +00:00
parent c181d8e316
commit 55e82d6d2b
3 changed files with 3 additions and 8 deletions

View file

@ -1,9 +1,6 @@
#ifndef RESOURCE_H
#define RESOURCE_H
#pragma once
#define IDS_USAGE 0
#define IDS_NO_SUBDIRECTORIES 1
#define IDS_FOLDER_PATH 2
#define IDS_VOL_SERIAL 3
#endif /* RESOURCE_H */

View file

@ -5,11 +5,9 @@
* PROGRAMMERS: Asif Bahrainwala (asif_bahrainwala@hotmail.com)
*/
// Tree.cpp : Defines the entry point for the console application.
//
#include <windows.h>
#include <stdio.h>
//#include <stdarg.h>
#include <windows.h>
#include "resource.h"

View file

@ -1,4 +1,4 @@
#include <windef.h>
#include <windef.h>
#include <winuser.h>
#include "resource.h"