Click here to Skip to main content
15,887,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Writing a Unicode File using wofstream Pin
A&Ms21-Apr-09 22:17
A&Ms21-Apr-09 22:17 
GeneralRe: Writing a Unicode File using wofstream Pin
Stuart Dootson21-Apr-09 22:28
professionalStuart Dootson21-Apr-09 22:28 
GeneralRe: Writing a Unicode File using wofstream Pin
A&Ms22-Apr-09 6:53
A&Ms22-Apr-09 6:53 
QuestionComparison of (int)DWORD Pin
Mikey_H21-Apr-09 4:27
Mikey_H21-Apr-09 4:27 
AnswerRe: Comparison of (int)DWORD Pin
Cedric Moonen21-Apr-09 4:32
Cedric Moonen21-Apr-09 4:32 
GeneralRe: Comparison of (int)DWORD Pin
Mikey_H21-Apr-09 4:42
Mikey_H21-Apr-09 4:42 
GeneralRe: Comparison of (int)DWORD Pin
Cedric Moonen21-Apr-09 4:46
Cedric Moonen21-Apr-09 4:46 
GeneralRe: Comparison of (int)DWORD [modified] Pin
Mikey_H21-Apr-09 5:07
Mikey_H21-Apr-09 5:07 
I've tried again without the cast

if (!Ambient || !Diffuse || !Specular)
		return false;


which is working, I obviously didn't have it set up how I thought I did at first.

Checking to make sure value is not 0 is fine, I just want to see if it has been "attempted" to be set, the variables will hold color values so they should not be 0 once set (I think).

Thank you for your help Cedric

modified on Tuesday, April 21, 2009 1:23 PM

GeneralRe: Comparison of (int)DWORD Pin
Cedric Moonen21-Apr-09 7:20
Cedric Moonen21-Apr-09 7:20 
GeneralRe: Comparison of (int)DWORD Pin
Mikey_H21-Apr-09 7:24
Mikey_H21-Apr-09 7:24 
GeneralRe: Comparison of (int)DWORD Pin
Cedric Moonen21-Apr-09 8:22
Cedric Moonen21-Apr-09 8:22 
QuestionRe: Comparison of (int)DWORD Pin
David Crow21-Apr-09 7:56
David Crow21-Apr-09 7:56 
AnswerRe: Comparison of (int)DWORD Pin
Perry Holman21-Apr-09 7:13
Perry Holman21-Apr-09 7:13 
QuestionHow can i Discovery all user-defined process name from a unknow DLL Pin
SNArruda21-Apr-09 4:25
SNArruda21-Apr-09 4:25 
AnswerRe: How can i Discovery all user-defined process name from a unknow DLL Pin
Cedric Moonen21-Apr-09 4:51
Cedric Moonen21-Apr-09 4:51 
QuestionFormating a CString variable. Pin
V K 221-Apr-09 4:23
V K 221-Apr-09 4:23 
AnswerRe: Formating a CString variable. Pin
Code-o-mat21-Apr-09 5:24
Code-o-mat21-Apr-09 5:24 
AnswerRe: Formating a CString variable. Pin
Joe Woodbury21-Apr-09 5:24
professionalJoe Woodbury21-Apr-09 5:24 
QuestionRe: Formating a CString variable. Pin
David Crow21-Apr-09 7:53
David Crow21-Apr-09 7:53 
QuestionAdvanced blitting or bitmap mapping Pin
Niklas L21-Apr-09 2:20
Niklas L21-Apr-09 2:20 
AnswerRe: Advanced blitting or bitmap mapping Pin
CPallini21-Apr-09 2:31
mveCPallini21-Apr-09 2:31 
GeneralRe: Advanced blitting or bitmap mapping Pin
Niklas L21-Apr-09 2:41
Niklas L21-Apr-09 2:41 
GeneralRe: Advanced blitting or bitmap mapping Pin
Niklas L21-Apr-09 2:53
Niklas L21-Apr-09 2:53 
AnswerRe: Advanced blitting or bitmap mapping Pin
KarstenK21-Apr-09 3:02
mveKarstenK21-Apr-09 3:02 
AnswerRe: Advanced blitting or bitmap mapping Pin
Chris Losinger21-Apr-09 3:38
professionalChris Losinger21-Apr-09 3:38 

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.