Click here to Skip to main content
16,007,779 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Blowfish Encryption Pin
Chris Losinger19-Jun-02 3:33
professionalChris Losinger19-Jun-02 3:33 
GeneralRe: Blowfish Encryption Pin
Senkwe Chanda19-Jun-02 3:35
Senkwe Chanda19-Jun-02 3:35 
QuestionInternet Explorer catches my Edit Control's BackSpace, arrow keys? Pin
S.Maharajan19-Jun-02 2:58
S.Maharajan19-Jun-02 2:58 
GeneralATL Service Pin
Hans Ruck19-Jun-02 2:32
Hans Ruck19-Jun-02 2:32 
GeneralRe: ATL Service Pin
19-Jun-02 2:42
suss19-Jun-02 2:42 
GeneralRe: ATL Service Pin
Hans Ruck19-Jun-02 3:18
Hans Ruck19-Jun-02 3:18 
GeneralRe: ATL Service Pin
Michael P Butler19-Jun-02 3:30
Michael P Butler19-Jun-02 3:30 
GeneralTransform and Lighting Capability on Graphics Card Pin
19-Jun-02 2:20
suss19-Jun-02 2:20 
Hi all, I'm using DirectX and am trying to see whether my graphics card can use the IID_IDirect3DTnLHalDevice ref before committing my application to it (where a nasty fail would happen if it couldn't). I have used the EnumDevices Callback function to obtain a D3DEVICEDESC7 pointer containing information about my Graphics card and am trying to check the dwDevCaps variable for the D3DDEVCAPS_HWTRANSFORMANDLIGHT cap by using:

if (!(lpdEnumDevice->dwDevCaps & D3DDEVCAPS_HWTRANSFORMANDLIGHT))
return Error;

lpdEnumDevice is the correct structure, but this test always returns false! I have tried using the IID_IDirect3DTnLHalDevice id at CreateDevice time and it works! so I know it must support it. What am I doing wrong? I have a nVidia GeForce 2 Ultra (Gainward spec) graphics card.

Oh and thanks for the response Mike but the D3DDEVCAPS_HWTRANSFORMANDLIGHT was introduced in version 7 of the DirectX SDK (according to Microsofts instructions), it has a DWORD value of 65536 whilst my dwDevCaps member variable has a value of 1361, which is obviously why it is returning false. But why is this value so low? Do I hav to call a GetCaps() function or something? or re-inialise the D3DEVICEDESC7 structure in the callback function somehow? The Microsoft SDK articles seem to suggest I'm doing it the right way (don't they???), but it still fails to succeed.

How do I even know if its trying to access my nVidia card?

Ta all,
Alan.

GeneralRe: Transform and Lighting Capability on Graphics Card Pin
Alan Chambers19-Jun-02 9:50
Alan Chambers19-Jun-02 9:50 
QuestionMirrorBlt? Pin
Dov Sherman19-Jun-02 2:16
Dov Sherman19-Jun-02 2:16 
AnswerRe: MirrorBlt? Pin
Chris Losinger19-Jun-02 2:28
professionalChris Losinger19-Jun-02 2:28 
AnswerRe: MirrorBlt? Pin
Christian Graus19-Jun-02 2:53
protectorChristian Graus19-Jun-02 2:53 
GeneralRe: MirrorBlt? Pin
Chris Losinger19-Jun-02 3:44
professionalChris Losinger19-Jun-02 3:44 
GeneralRe: MirrorBlt? Pin
Dov Sherman19-Jun-02 3:47
Dov Sherman19-Jun-02 3:47 
GeneralSetting & Getting ItemData Pin
Steve L.19-Jun-02 1:37
Steve L.19-Jun-02 1:37 
GeneralRe: Setting & Getting ItemData Pin
Steve L.19-Jun-02 1:42
Steve L.19-Jun-02 1:42 
GeneralRe: Setting & Getting ItemData Pin
Michael P Butler19-Jun-02 1:56
Michael P Butler19-Jun-02 1:56 
GeneralRe: Setting & Getting ItemData Pin
Steve L.19-Jun-02 2:00
Steve L.19-Jun-02 2:00 
GeneralRe: Setting & Getting ItemData Pin
_Magnus_19-Jun-02 1:50
_Magnus_19-Jun-02 1:50 
GeneralRe: Setting & Getting ItemData Pin
Steve L.19-Jun-02 1:52
Steve L.19-Jun-02 1:52 
Generallock-up catching excel events Pin
Zizilamoroso18-Jun-02 23:56
Zizilamoroso18-Jun-02 23:56 
GeneralRe: lock-up catching excel events Pin
Zizilamoroso19-Jun-02 1:18
Zizilamoroso19-Jun-02 1:18 
GeneralMFC Automation embedded Ms Word window bring to top Pin
Braulio Dez18-Jun-02 23:51
Braulio Dez18-Jun-02 23:51 
GeneralVS7 and Icons Pin
Dennis Alden18-Jun-02 23:51
Dennis Alden18-Jun-02 23:51 
GeneralRe: VS7 and Icons Pin
Dennis Alden19-Jun-02 0:14
Dennis Alden19-Jun-02 0:14 

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.