Click here to Skip to main content
15,888,081 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWindows Spy Pin
ddmcr26-Jul-05 0:44
ddmcr26-Jul-05 0:44 
GeneralRe: Windows Spy Pin
mark novak26-Jul-05 2:56
mark novak26-Jul-05 2:56 
GeneralTo get message from Windows if user writes on hard disk Pin
sannik25-Jul-05 23:43
sannik25-Jul-05 23:43 
GeneralRe: To get message from Windows if user writes on hard disk Pin
Iain Clarke, Warrior Programmer26-Jul-05 0:59
Iain Clarke, Warrior Programmer26-Jul-05 0:59 
Questionhow to compare date? Pin
neodeaths25-Jul-05 23:38
neodeaths25-Jul-05 23:38 
AnswerRe: how to compare date? Pin
Marc Soleda25-Jul-05 23:53
Marc Soleda25-Jul-05 23:53 
GeneralRe: how to compare date? Pin
neodeaths1-Aug-05 16:22
neodeaths1-Aug-05 16:22 
GeneralRe: how to compare date? Pin
Marc Soleda1-Aug-05 20:03
Marc Soleda1-Aug-05 20:03 
In this example it's compared the current time with a fixed date .
<br />
CTime ct1, ct2;<br />
ct1 = CTime::GetCurrentTime();<br />
<br />
ct2 = CTime(2005, 07, 30, 23, 01, 00); //CTime::CTime( int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec, int nDST = -1 );<br />
<br />
// Now you can compare them.<br />
if(ct1 > ct2)<br />
{<br />
  // current time is greater than the fix one<br />
}<br />
else<br />
{<br />
  // fixed time is greater or equal than current time <br />
}<br />


I hope that it's what you wanted,
Marc Soleda.


... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
AnswerRe: how to compare date? Pin
David Crow26-Jul-05 2:46
David Crow26-Jul-05 2:46 
GeneralRe: how to compare date? Pin
neodeaths26-Jul-05 18:20
neodeaths26-Jul-05 18:20 
GeneralRe: how to compare date? Pin
David Crow27-Jul-05 2:28
David Crow27-Jul-05 2:28 
Generalhelp me debug this pls Pin
neodeaths25-Jul-05 23:36
neodeaths25-Jul-05 23:36 
GeneralRe: help me debug this pls Pin
Marc Soleda26-Jul-05 0:25
Marc Soleda26-Jul-05 0:25 
GeneralRe: help me debug this pls Pin
GDavy26-Jul-05 1:57
GDavy26-Jul-05 1:57 
GeneralRe: help me debug this pls Pin
Mike Dimmick26-Jul-05 2:43
Mike Dimmick26-Jul-05 2:43 
Questionhow to................. Pin
Member 214683925-Jul-05 23:27
Member 214683925-Jul-05 23:27 
AnswerRe: how to................. Pin
David Crow26-Jul-05 2:50
David Crow26-Jul-05 2:50 
AnswerRe: how to................. Pin
Member 214683926-Jul-05 4:59
Member 214683926-Jul-05 4:59 
Generaltapi 2.2 lineMonitorTones Pin
nripun25-Jul-05 22:53
nripun25-Jul-05 22:53 
GeneralUse of string in switch case Pin
itkid25-Jul-05 22:53
itkid25-Jul-05 22:53 
GeneralRe: Use of string in switch case Pin
berndg25-Jul-05 23:56
berndg25-Jul-05 23:56 
GeneralRe: Use of string in switch case Pin
Iain Clarke, Warrior Programmer26-Jul-05 0:23
Iain Clarke, Warrior Programmer26-Jul-05 0:23 
GeneralRe: Use of string in switch case Pin
berndg26-Jul-05 4:18
berndg26-Jul-05 4:18 
GeneralRe: Use of string in switch case Pin
markkuk26-Jul-05 12:09
markkuk26-Jul-05 12:09 
GeneralRe: Use of string in switch case Pin
itkid27-Jul-05 2:31
itkid27-Jul-05 2:31 

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.