Click here to Skip to main content
16,005,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Communication between classes Pin
toxcct19-Nov-04 5:57
toxcct19-Nov-04 5:57 
GeneralRe: Communication between classes Pin
David Crow19-Nov-04 6:44
David Crow19-Nov-04 6:44 
GeneralRe: Communication between classes Pin
Ravi Bhavnani18-Oct-04 11:17
professionalRavi Bhavnani18-Oct-04 11:17 
GeneralRe: Communication between classes Pin
Kamis18-Oct-04 13:08
Kamis18-Oct-04 13:08 
GeneralDirectInput help - DirectInputCreate Function wont Work! Pin
InflatableGarfield18-Oct-04 8:36
InflatableGarfield18-Oct-04 8:36 
GeneralRe: DirectInput help - DirectInputCreate Function wont Work! Pin
BlackDice18-Oct-04 10:48
BlackDice18-Oct-04 10:48 
GeneralRe: DirectInput help - DirectInputCreate Function wont Work! Pin
BlackDice18-Oct-04 11:06
BlackDice18-Oct-04 11:06 
GeneralRe: DirectInput help - DirectInputCreate Function wont Work! Pin
InflatableGarfield18-Oct-04 11:50
InflatableGarfield18-Oct-04 11:50 
I have it working! Im not sure what Ive done but my app compiled and worked.
I think I did the following:

#include <dinput.h>
#define DIRECTINPUT_VERSION 0x0700

rather than

#define DIRECTINPUT_VERSION 0x0700
#include <dinput.h>


DINPUT.H has its own DIRECTINPUT_VERSION defined and so I needed to define my own before I included the DINPUT.H file. Sorry for wasting your time on such a mistake.

As for the DirectInput8Create() function it seems that this is a improved function introduced in DirectX 8. This might explain why the other function doesnt work properly with DirectX 9. Thanks for bringing it to my attention. Im going to ditch the article I was using as it seems as though it was made for much older DirectX versions and research these new DirectX 8 functions.

Thanks for your help!
QuestionHow to make MDI GUI like this? :doh: Pin
yesjacky18-Oct-04 8:35
yesjacky18-Oct-04 8:35 
AnswerRe: How to make MDI GUI like this? :doh: Pin
Maximilien18-Oct-04 8:55
Maximilien18-Oct-04 8:55 
GeneralRe: How to make MDI GUI like this? :doh: Pin
yesjacky18-Oct-04 9:16
yesjacky18-Oct-04 9:16 
GeneralRe: How to make MDI GUI like this? :doh: Pin
Maximilien18-Oct-04 9:30
Maximilien18-Oct-04 9:30 
AnswerRe: How to make MDI GUI like this? :doh: Pin
David Crow18-Oct-04 9:15
David Crow18-Oct-04 9:15 
GeneralRe: How to make MDI GUI like this? :doh: Pin
yesjacky18-Oct-04 9:27
yesjacky18-Oct-04 9:27 
Generalserial port comm. Pin
Anonymous18-Oct-04 8:29
Anonymous18-Oct-04 8:29 
GeneralChanging dynamically tooltip text on toolbar Pin
Exsilius18-Oct-04 4:21
Exsilius18-Oct-04 4:21 
GeneralRe: Changing dynamically tooltip text on toolbar Pin
Exsilius18-Oct-04 4:55
Exsilius18-Oct-04 4:55 
GeneralString to Command Pin
dSolariuM18-Oct-04 3:53
dSolariuM18-Oct-04 3:53 
GeneralRe: String to Command Pin
P-Rex18-Oct-04 4:28
P-Rex18-Oct-04 4:28 
GeneralRe: String to Command Pin
Antony M Kancidrowski18-Oct-04 5:57
Antony M Kancidrowski18-Oct-04 5:57 
Generalcreating a package Pin
nnvidya18-Oct-04 3:23
nnvidya18-Oct-04 3:23 
GeneralRe: creating a package Pin
shiraztk18-Oct-04 19:13
shiraztk18-Oct-04 19:13 
GeneralRe: creating a package Pin
nnvidya18-Oct-04 19:43
nnvidya18-Oct-04 19:43 
GeneralSetWindowText Pin
jj92118-Oct-04 3:01
jj92118-Oct-04 3:01 
GeneralRe: SetWindowText Pin
David Crow18-Oct-04 3:02
David Crow18-Oct-04 3:02 

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.