Hi! After reinstalling my PC I downloaded the latest SDK (I used the "August 2002"-SDK before), installed it and set the directories to the SDK. When I try to compile my applications I get several errors, e.g. CWnd::KillTimer() does not exist. Has anybody the same problems? Or do you have any source for the "August 2002"-SDK (which worked quite well for me). Ciao, Alex
Alexander Bischofberger
Posts
-
VC 6.0 and latest Platform SDK -
Check Last-Modified when downloading files from InternetHi! 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
-
Using MSXML.DLL in Visual C++ 5Hi! To have a first sample for the XML control I downloaded the "MFC XML Tree" sample and compiled it using Visual C 5. Doing that gave me the following errors: D:\test\MFC Tree\Debug\MSXML.tlh(785) : error C2504: 'IXMLDOMCharacterData' : Basisklasse undefiniert D:\test\MFC Tree\Debug/MSXML.tli(720) : error C2664: '_com_issue_errorex' : Konvertierung des Parameters 2 von 'struct MSXML::IXMLDOMText *const ' in 'struct IUnknown *' nicht moeglich Compiling the sample using Visual C 6 works well. Any ideas or hints how to use the XML control with Version 5? Thank you! Ciao, Alex