|
-
October 19th, 2010, 09:52 AM
#22
Re: Month Calendar : output selected range to MessageBox - pls explain
 Originally Posted by Morbane
So I tried this:
Code:
if(buf1 == buf2)
...
But it doesn't work - the logic is messed up somehow.
Of course it doesn't!
Because you compare the values of two pointers which are absolutely different!
You have to compare SYSTEMTIME objects (rng[0] and rng[1] in your case)
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|