Click here to Skip to main content
15,886,822 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionATL Server Exe Shutdown Hangs Pin
marko201022-Feb-10 14:31
marko201022-Feb-10 14:31 
AnswerRe: ATL Server Exe Shutdown Hangs [modified] Pin
KingsGambit22-Feb-10 17:42
KingsGambit22-Feb-10 17:42 
QuestionDirect3D Types as interface parameters Pin
Aschratt20-Feb-10 22:47
Aschratt20-Feb-10 22:47 
AnswerRe: Direct3D Types as interface parameters Pin
Jonathan Davies21-Feb-10 2:03
Jonathan Davies21-Feb-10 2:03 
GeneralRe: Direct3D Types as interface parameters Pin
Aschratt21-Feb-10 2:07
Aschratt21-Feb-10 2:07 
GeneralRe: Direct3D Types as interface parameters Pin
Jonathan Davies21-Feb-10 2:24
Jonathan Davies21-Feb-10 2:24 
GeneralRe: Direct3D Types as interface parameters Pin
Aschratt21-Feb-10 2:32
Aschratt21-Feb-10 2:32 
GeneralRe: Direct3D Types as interface parameters Pin
Jonathan Davies21-Feb-10 3:26
Jonathan Davies21-Feb-10 3:26 
I did a couple of searches on my PC and found D3DCOLOR defined in in vmr9.idl:

cpp_quote("#if 0")
// This is temporary work around to persuade
// MIDL to allow forward declarations.
typedef DWORD           IDirect3DDevice9;
typedef DWORD           IDirect3DSurface9;
typedef DWORD           D3DFORMAT;
typedef DWORD           D3DCOLOR;
typedef DWORD           D3DPOOL;
typedef LONGLONG        REFERENCE_TIME;
typedef DWORD*          HMONITOR;
typedef struct {DWORD dw1; DWORD dw2;} AM_MEDIA_TYPE;
cpp_quote ("#endif")


and in dxtrans.idl I found:

//
//  Since direct draw does not have an IDL, we'll define DDSURFACEDESC to
//  be a void, but include ddraw.h in the header file.  This makes MIDL happy.
//
#ifndef DDSURFACEDESC
cpp_quote("#if 0")
cpp_quote("// Bogus definition used to make MIDL compiler happy")
typedef void DDSURFACEDESC;
typedef void D3DRMBOX;
typedef void D3DVECTOR;
typedef void D3DRMMATRIX4D;
typedef void* LPSECURITY_ATTRIBUTES;
cpp_quote("#endif")
#endif


So looks like you're not the only one to come accross this problem.
GeneralRe: Direct3D Types as interface parameters [modified] Pin
Aschratt21-Feb-10 4:42
Aschratt21-Feb-10 4:42 
GeneralRe: Direct3D Types as interface parameters Pin
Jonathan Davies21-Feb-10 6:23
Jonathan Davies21-Feb-10 6:23 
GeneralRe: Direct3D Types as interface parameters Pin
Aschratt21-Feb-10 6:24
Aschratt21-Feb-10 6:24 
QuestionHow to create EXE setup file using VS2005,VS2008 Pin
am 20096-Feb-10 6:14
am 20096-Feb-10 6:14 
AnswerRe: How to create EXE setup file using VS2005,VS2008 Pin
KingsGambit6-Feb-10 6:38
KingsGambit6-Feb-10 6:38 
AnswerRe: How to create EXE setup file using VS2005,VS2008 Pin
LunaticFringe6-Feb-10 7:58
LunaticFringe6-Feb-10 7:58 
Questionvector of strings, find all matches Pin
ekimpl3-Feb-10 23:54
ekimpl3-Feb-10 23:54 
AnswerRe: vector of strings, find all matches Pin
Nuri Ismail4-Feb-10 0:14
Nuri Ismail4-Feb-10 0:14 
GeneralRe: vector of strings, find all matches Pin
ekimpl4-Feb-10 0:38
ekimpl4-Feb-10 0:38 
GeneralRe: vector of strings, find all matches Pin
Nuri Ismail4-Feb-10 3:51
Nuri Ismail4-Feb-10 3:51 
GeneralRe: vector of strings, find all matches Pin
ekimpl4-Feb-10 4:03
ekimpl4-Feb-10 4:03 
GeneralRe: vector of strings, find all matches Pin
Nuri Ismail4-Feb-10 4:07
Nuri Ismail4-Feb-10 4:07 
QuestionClient Blocking Event Sink Pin
Anthony98871-Feb-10 4:30
Anthony98871-Feb-10 4:30 
AnswerRe: Client Blocking Event Sink Pin
Stuart Dootson1-Feb-10 11:03
professionalStuart Dootson1-Feb-10 11:03 
QuestionSplitterWindow change message? [modified] Pin
Member 381982121-Jan-10 11:41
Member 381982121-Jan-10 11:41 
AnswerRe: SplitterWindow change message? Pin
Stuart Dootson21-Jan-10 22:53
professionalStuart Dootson21-Jan-10 22:53 
AnswerRe: SplitterWindow change message? Pin
Jonathan Davies22-Jan-10 2:36
Jonathan Davies22-Jan-10 2:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.