Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Direct3d的問題??

0 views
Skip to first unread message

永遠的亞瑟王

unread,
Mar 8, 1997, 3:00:00 AM3/8/97
to

==> 在 HsuehYi@phoenix (呂布) 的文章中提到:
: 請問Direct3d的programmer:
: 由於剛入門, 就碰到了下列問題, 一直不清楚
: 是怎麼一回事, 可否指點一下, 問題如下:
: 程式中引用了一函數
: DirectDrawCreateClipper(0, &m_lpDDClipper, NULL)
: (PS: LPDIRECT3DRMDEVICE m_lpDDClipper)
: 為了建立DIRECT3DRMDEVICE的dEVICE,
: 但Compiler卻出現下列錯誤
: 1. DirectDrawCreateClipper Undelcared identifier.
: 2. term does not evalute to a function.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
這是 Compile 時的錯誤, 跟 link 沒有關係, 我察了一下
DirectDrawCreateClipper 在 ddraw.h 裡有宣告 ...

: 程式中也引入了 "d3drmwin.h"與"d3drm.h"
: 及link了 "d3drm.lib"與"ddraw.lib"
: 稿不清處為何, 該函數是compiler過不去呢??
: 可否高手指點???
: ps:我是使用Win95, VC++4.2

呂布

unread,
Mar 8, 1997, 3:00:00 AM3/8/97
to

==> 在 PrinceRich@phoenix (永遠的亞瑟王) 的文章中提到:
: ==> 在 HsuehYi@phoenix (呂布) 的文章中提到:

: : 請問Direct3d的programmer:
: : 由於剛入門, 就碰到了下列問題, 一直不清楚
: : 是怎麼一回事, 可否指點一下, 問題如下:
: : 程式中引用了一函數
: : DirectDrawCreateClipper(0, &m_lpDDClipper, NULL)
: : (PS: LPDIRECT3DRMDEVICE m_lpDDClipper)
: : 為了建立DIRECT3DRMDEVICE的dEVICE,
: : 但Compiler卻出現下列錯誤
: : 1. DirectDrawCreateClipper Undelcared identifier.
: : 2. term does not evalute to a function.
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: 這是 Compile 時的錯誤, 跟 link 沒有關係, 我察了一下
: DirectDrawCreateClipper 在 ddraw.h 裡有宣告 ...
^^^^^^^
我已嘗試include了..
but,還是不行...我再找些資料好了
不知哪位高手能回答此類的問題..thanks

呂布

unread,
Mar 8, 1997, 3:00:00 AM3/8/97
to
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
我也查了一下...,ddraw.h沒有定義該函數
只有定義DirectDrawClipper,...您可能看錯了吧!!
d3drmwin.h與d3drm.h也沒有定義,..
所以,我想我的問題可能出在少Include了上述函數的定義檔
麻煩知道的網友能Help一下..thanks

ps:我是用Win95, MFC4.2, DirectX 3.x

0 new messages