游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2595|回复: 4

d3d9types.h(1385) : warning C4819

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2006-9-20 20:59:00 | 显示全部楼层 |阅读模式
我是用VC++.Net 2005和DirectX SDK August 2006
我的程式?Header如下

#include <d3dx9.h>
#include <afxtempl.h>//CList

#include <Mmsystem.h>
#pragma comment(lib,"Winmm.lib")
//timeGetTime

// For DirectX error
#pragma comment(lib, "dxerr9.lib") //for DXGetErrorString9
#include <Dxerr9.h>

宣告以上的程式?後,??霈F以下的??,???一下?是因??nicide Definition的??S??
我?如何解?Q呢?

1>d:\dxsdk\microsoft directx sdk (august 2006)\include\d3d9types.h(1385) : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss

d3d9types.h
typedef enum _D3DFORMAT
{
......
    D3DFMT_VERTEXDATA =100,
    D3DFMT_INDEX16 =101,
    D3DFMT_INDEX32 =102,//

0

主题

237

帖子

237

积分

中级会员

Rank: 3Rank: 3

积分
237
发表于 2006-9-20 22:06:00 | 显示全部楼层

Re:d3d9types.h(1385) : warning C4819

double click 那句 warning, d3d9types.h ??_?? 然後save 一下??? d3d9types.h, 完成.......

0

主题

2

帖子

8

积分

新手上路

Rank: 1

积分
8
发表于 2007-3-23 21:30:00 | 显示全部楼层

Re:d3d9types.h(1385) : warning C4819

能告诉我为什么吗?

15

主题

363

帖子

390

积分

中级会员

Rank: 3Rank: 3

积分
390
发表于 2007-3-26 17:21:00 | 显示全部楼层

Re:d3d9types.h(1385) : warning C4819

#pragma warning(disable:4819)

12

主题

78

帖子

92

积分

注册会员

Rank: 2

积分
92
发表于 2007-8-31 14:16:00 | 显示全部楼层

Re: d3d9types.h(1385) : warning C4819

我也碰到了这个问题,因该是那个头文件包含了一些非标准字符引起的吧。保存一下就好了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-25 02:46

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表