Click here to Skip to main content
15,889,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: question about DWORD Pin
Tim Smith21-Apr-04 15:46
Tim Smith21-Apr-04 15:46 
QuestionHow to deploy VC++ .NET debug symbols? Pin
ICantChangeMyAcct21-Apr-04 11:35
ICantChangeMyAcct21-Apr-04 11:35 
Generalimport funcs name Pin
lukhas21-Apr-04 11:32
lukhas21-Apr-04 11:32 
GeneralParsing.. Pin
Laing,James21-Apr-04 10:50
Laing,James21-Apr-04 10:50 
GeneralRe: Parsing.. Pin
Anthony_Yio21-Apr-04 16:06
Anthony_Yio21-Apr-04 16:06 
GeneralRe: Parsing.. Pin
Laing,James23-Apr-04 13:31
Laing,James23-Apr-04 13:31 
GeneralSize of Object in Serialization Pin
Peter Krankl21-Apr-04 10:46
sussPeter Krankl21-Apr-04 10:46 
GeneralCheck Last-Modified when downloading files from Internet Pin
Alexander Bischofberger21-Apr-04 10:36
Alexander Bischofberger21-Apr-04 10:36 
Hi!

I think it's just a simple question, but I haven't found any code that helps me...

I like to download a file from the internet using the InternetConnect & HttpOpenRequest which works fine. My problem is, that I want to check if the file is newer than a specific date, and if not use a local file.

My first solution was to use some kind of "Only if newer" field in the HTTP header, but I haven't figured out how this works... So now I try to send the request, parse the headers from HttpQueryInfo() and check for the "Last-Modified: " line and parse it. Works fine - except that the whole file is transferred before I can check the date&time.

So I'll be glad if you have some code like
BOOL IsInternetFileNewerThan(CTime tmCompareTo);

Thanks + Ciao,
Alexander
GeneralFractal Image Compression Pin
zscuffha21-Apr-04 10:08
zscuffha21-Apr-04 10:08 
Questionhow shall i do serialize from dialogs Pin
NewtonOfComputers21-Apr-04 7:58
NewtonOfComputers21-Apr-04 7:58 
AnswerRe: how shall i do serialize from dialogs Pin
Prakash Nadar21-Apr-04 8:05
Prakash Nadar21-Apr-04 8:05 
GeneralOpening Modal Dialog from Modeless Propertsheet Pin
kimiko21-Apr-04 7:38
kimiko21-Apr-04 7:38 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
David Crow21-Apr-04 8:07
David Crow21-Apr-04 8:07 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko21-Apr-04 9:35
kimiko21-Apr-04 9:35 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
David Crow21-Apr-04 9:41
David Crow21-Apr-04 9:41 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko21-Apr-04 12:19
kimiko21-Apr-04 12:19 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar21-Apr-04 8:08
Prakash Nadar21-Apr-04 8:08 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko21-Apr-04 9:46
kimiko21-Apr-04 9:46 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar21-Apr-04 16:03
Prakash Nadar21-Apr-04 16:03 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko22-Apr-04 10:31
kimiko22-Apr-04 10:31 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar22-Apr-04 15:38
Prakash Nadar22-Apr-04 15:38 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko23-Apr-04 5:52
kimiko23-Apr-04 5:52 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar23-Apr-04 6:12
Prakash Nadar23-Apr-04 6:12 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
kimiko23-Apr-04 7:08
kimiko23-Apr-04 7:08 
GeneralRe: Opening Modal Dialog from Modeless Propertsheet Pin
Prakash Nadar23-Apr-04 16:38
Prakash Nadar23-Apr-04 16: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.