Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
GeneralRe: Just a quick one[SOLVED] Pin
thes3cr3t110-Nov-07 22:59
thes3cr3t110-Nov-07 22:59 
int timerPinout = 0;



void CChrisRelayDlg::CheckTimers()
{

if (m_strOn1 == m_sTime)
{
m_Pin1 = TRUE;
timerPinout |= 0x1;
}

if (m_strOn2 == m_sTime)
{
m_Pin2 = TRUE;
timerPinout |= 0x2;
}

if (m_strOn3 == m_sTime)
{
m_Pin3 = TRUE;
timerPinout |= 0x4;
}

if (m_strOn4 == m_sTime)
{
m_Pin4 = TRUE;
timerPinout |= 0x8;
}

if (m_strOn5 == m_sTime)
{
m_Pin5 = TRUE;
timerPinout |= 0x10;
}

if (m_strOn6 == m_sTime)
{
m_Pin6 = TRUE;
timerPinout |= 0x20;
}

if (m_strOn7 == m_sTime)
{
m_Pin7 = TRUE;
timerPinout |= 0x40;
}

if (m_strOn8 == m_sTime)
{
m_Pin8 = TRUE;
timerPinout |= 0x80;
}

if (m_strOff1 == m_sTime)
{
m_Pin1 = FALSE;
timerPinout &= 0xFE;
}

if (m_strOff2 == m_sTime)
{
m_Pin2 = FALSE;
timerPinout &= 0xFD;
}

if (m_strOff3 == m_sTime)
{
m_Pin3 = FALSE;
timerPinout &= 0xFB;
}

if (m_strOff4 == m_sTime)
{
m_Pin4 = FALSE;
timerPinout &= 0xF7;
}

if (m_strOff5 == m_sTime)
{
m_Pin5 = FALSE;
timerPinout &= 0xEF;
}

if (m_strOff6 == m_sTime)
{
m_Pin6 = FALSE;
timerPinout &= 0xDF;
}

if (m_strOff7 == m_sTime)
{
m_Pin7 = FALSE;
timerPinout &= 0xBF;
}

if (m_strOff8 == m_sTime)
{
m_Pin8 = FALSE;
timerPinout &= 0x7F;
}
if (m_strOff6 == m_sTime)
{
m_Pin6 = FALSE;
timerPinout &= 0xDF;
}

Out32(0x378,timerPinout);
m_iCout--;

UpdateData(false);
}

QuestionCustom Database with jet engine and Dao MFC wrappers! Pin
padamraj5-Nov-07 1:37
padamraj5-Nov-07 1:37 
Questionvirtual address and real address Pin
zon_cpp5-Nov-07 1:10
zon_cpp5-Nov-07 1:10 
AnswerRe: virtual address and real address Pin
James R. Twine5-Nov-07 1:25
James R. Twine5-Nov-07 1:25 
QuestionCString to COleDateTime type. Pin
Marimuthu.r5-Nov-07 1:06
Marimuthu.r5-Nov-07 1:06 
AnswerRe: CString to COleDateTime type. Pin
James R. Twine5-Nov-07 1:20
James R. Twine5-Nov-07 1:20 
AnswerRe: CString to COleDateTime type. Pin
Marimuthu.r5-Nov-07 1:37
Marimuthu.r5-Nov-07 1:37 
QuestionHow to get execution time of a function in microsecs? Pin
shir_k5-Nov-07 0:24
shir_k5-Nov-07 0:24 
AnswerRe: How to get execution time of a function in microsecs? Pin
ThatsAlok5-Nov-07 0:52
ThatsAlok5-Nov-07 0:52 
GeneralRe: How to get execution time of a function in microsecs? Pin
James R. Twine5-Nov-07 1:29
James R. Twine5-Nov-07 1:29 

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.