Click here to Skip to main content
15,916,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: read only folder on Windows Pin
George_George5-Nov-07 17:54
George_George5-Nov-07 17:54 
GeneralRe: read only folder on Windows Pin
David Crow6-Nov-07 2:48
David Crow6-Nov-07 2:48 
GeneralRe: read only folder on Windows Pin
George_George6-Nov-07 5:15
George_George6-Nov-07 5:15 
GeneralRe: read only folder on Windows Pin
David Crow6-Nov-07 5:21
David Crow6-Nov-07 5:21 
GeneralRe: read only folder on Windows Pin
George_George6-Nov-07 16:20
George_George6-Nov-07 16:20 
AnswerRe: read only folder on Windows Pin
toxcct5-Nov-07 6:58
toxcct5-Nov-07 6:58 
AnswerRe: read only folder on Windows Pin
shpid3r5-Nov-07 10:20
shpid3r5-Nov-07 10:20 
GeneralRe: read only folder on Windows Pin
George_George5-Nov-07 17:59
George_George5-Nov-07 17:59 
GeneralRe: read only folder on Windows Pin
toxcct6-Nov-07 5:27
toxcct6-Nov-07 5:27 
AnswerRe: read only folder on Windows Pin
shpid3r6-Nov-07 5:59
shpid3r6-Nov-07 5:59 
GeneralRe: read only folder on Windows Pin
George_George6-Nov-07 16:33
George_George6-Nov-07 16:33 
GeneralRe: read only folder on Windows Pin
toxcct6-Nov-07 21:03
toxcct6-Nov-07 21:03 
GeneralRe: read only folder on Windows Pin
shpid3r7-Nov-07 6:15
shpid3r7-Nov-07 6:15 
GeneralRe: read only folder on Windows Pin
George_George7-Nov-07 17:10
George_George7-Nov-07 17:10 
QuestionFile Locking Pin
Imtiaz Murtaza5-Nov-07 2:09
Imtiaz Murtaza5-Nov-07 2:09 
AnswerRe: File Locking Pin
Daniel Kanev5-Nov-07 2:26
Daniel Kanev5-Nov-07 2:26 
AnswerRe: File Locking Pin
James R. Twine5-Nov-07 3:48
James R. Twine5-Nov-07 3:48 
AnswerRe: File Locking Pin
David Crow5-Nov-07 4:25
David Crow5-Nov-07 4:25 
GeneralRe: File Locking Pin
Imtiaz Murtaza5-Nov-07 4:27
Imtiaz Murtaza5-Nov-07 4:27 
GeneralRe: File Locking Pin
David Crow5-Nov-07 4:30
David Crow5-Nov-07 4:30 
QuestionJust a quick one Pin
thes3cr3t15-Nov-07 1:37
thes3cr3t15-Nov-07 1:37 
\\m_sTime is the local computer time
\\m_strOn1 -> m_strOn8 are edit box's that a user can enter time's into

the problem is the if statment keeps returning true,varibles m_strOn1 too m_strOn7 are all the same,but m_strOn8 is different and the secondif statment should return true not the first.

obviously im doing something incorrect here,can anybody help?


if(m_sTime == m_strOn1 && m_strOn2 && m_strOn3 && m_strOn4 && m_strOn5 && m_strOn6 && m_strOn7 && m_strOn8 )
{
Out32(0x378,255);
m_Pin1 = TRUE;
m_Pin2 = TRUE;
m_Pin3 = TRUE;
m_Pin4 = TRUE;
m_Pin5 = TRUE;
m_Pin6 = TRUE;
m_Pin7 = TRUE;
m_Pin8 = TRUE;
UpdateData(false);
MessageBox("11111111","here",MB_OK);
}

else

if(m_sTime == m_strOn1 && m_strOn2 && m_strOn3 && m_strOn4 && m_strOn5 && m_strOn6 && m_strOn7 != m_strOn8)
{
Out32(0x378,254);
m_Pin1 = TRUE;
m_Pin2 = TRUE;
m_Pin3 = TRUE;
m_Pin4 = TRUE;
m_Pin5 = TRUE;
m_Pin6 = TRUE;
m_Pin7 = TRUE;
m_Pin8 = FALSE;
UpdateData(false);
MessageBox("11111110","here",MB_OK);
}

AnswerRe: Just a quick one Pin
Nishad S5-Nov-07 1:55
Nishad S5-Nov-07 1:55 
GeneralRe: Just a quick one Pin
thes3cr3t15-Nov-07 2:06
thes3cr3t15-Nov-07 2:06 
AnswerRe: Just a quick one Pin
Cedric Moonen5-Nov-07 2:00
Cedric Moonen5-Nov-07 2:00 
GeneralRe: Just a quick one Pin
thes3cr3t15-Nov-07 2:45
thes3cr3t15-Nov-07 2:45 

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.