Click here to Skip to main content
16,005,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionforce URLDownloadToFile() to "redownload"? Pin
ThinkingPrometheus3-Mar-05 0:00
ThinkingPrometheus3-Mar-05 0:00 
AnswerRe: force URLDownloadToFile() to "redownload"? Pin
Ravi Bhavnani3-Mar-05 8:37
professionalRavi Bhavnani3-Mar-05 8:37 
GeneralDetecting Url change on system wide Browser Pin
Holocron2-Mar-05 23:35
Holocron2-Mar-05 23:35 
GeneralRe: Detecting Url change on system wide Browser Pin
Holocron2-Mar-05 23:48
Holocron2-Mar-05 23:48 
GeneralRe: Detecting Url change on system wide Browser Pin
ThatsAlok2-Mar-05 23:57
ThatsAlok2-Mar-05 23:57 
GeneralRe: Detecting Url change on system wide Browser Pin
Holocron3-Mar-05 0:03
Holocron3-Mar-05 0:03 
GeneralRe: Detecting Url change on system wide Browser Pin
ThatsAlok3-Mar-05 2:34
ThatsAlok3-Mar-05 2:34 
GeneralProblem with RegisterEventSource Pin
eight2-Mar-05 23:34
eight2-Mar-05 23:34 
Hi. I'm having a problem with logging into my custom key. I've successfully created the key but when I try to log inside it, it kept logging inside the Application key. How can I fix this problem?

//--Start code--
#define SOURCE _T("Simple")
#define LOG _T("SimpleLog")
#define DLL _T("C:\\Simple\\Messages.dll")

int _tmain(int argc, TCHAR* argv[])
{
AddEventSource(LOG, SOURCE, DLL, 3);
HANDLE hEventLog;
hEventLog = RegisterEventSource(NULL, SOURCE);
ReportEvent(hEventLog, EVENTLOG_INFORMATION_TYPE, CAT_2,
MSG_STRIKE_ANY_KEY, NULL, 0, 0, NULL, NULL);
DeregisterEventSource( hEventLog );
)
//--End code--

For my Messages.mc, I copied from the sample in MSDN, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/message_files.asp

For my AddEventSource() function, I copied from the sample also in MSDN, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/adding_a_source_to_the_registry.asp

I can't locate the problem. Am I missing anything? Please help. Thanks
GeneralOnMouseMove problem Pin
ThinkingPrometheus2-Mar-05 23:30
ThinkingPrometheus2-Mar-05 23:30 
GeneralRe: onmousemove problem Pin
namaskaaram3-Mar-05 2:26
namaskaaram3-Mar-05 2:26 
Generalsending sms to mobile using VC++ Pin
Member 13944022-Mar-05 21:26
Member 13944022-Mar-05 21:26 
GeneralRe: sending sms to mobile using VC++ Pin
ThatsAlok2-Mar-05 23:09
ThatsAlok2-Mar-05 23:09 
GeneralRe: sending sms to mobile using VC++ Pin
Member 13944023-Mar-05 17:58
Member 13944023-Mar-05 17:58 
GeneralRe: sending sms to mobile using VC++ Pin
mpapeo4-Mar-05 11:15
mpapeo4-Mar-05 11:15 
GeneralRe: sending sms to mobile using VC++ Pin
Member 13944027-Mar-05 20:28
Member 13944027-Mar-05 20:28 
GeneralProblem with socket Pin
densitet2-Mar-05 21:20
densitet2-Mar-05 21:20 
GeneralRe: Problem with socket Pin
vishalmore2-Mar-05 22:01
vishalmore2-Mar-05 22:01 
GeneralRe: Problem with socket Pin
densitet2-Mar-05 22:08
densitet2-Mar-05 22:08 
GeneralRe: Problem with socket Pin
ThatsAlok2-Mar-05 23:19
ThatsAlok2-Mar-05 23:19 
GeneralRe: Problem with socket Pin
vishalmore3-Mar-05 2:40
vishalmore3-Mar-05 2:40 
GeneralPlease help me immediatly Pin
ikram_ktk2-Mar-05 20:33
ikram_ktk2-Mar-05 20:33 
GeneralRe: Please help me immediatly Pin
Ravi Bhavnani3-Mar-05 3:59
professionalRavi Bhavnani3-Mar-05 3:59 
Generalchallenging one Pin
mpapeo2-Mar-05 19:34
mpapeo2-Mar-05 19:34 
GeneralRe: challenging one Pin
jan larsen2-Mar-05 20:19
jan larsen2-Mar-05 20:19 
GeneralRe: challenging one Pin
mpapeo2-Mar-05 22:17
mpapeo2-Mar-05 22:17 

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.