Click here to Skip to main content
16,007,858 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CTreeCtrl is eating my WM_LBUTTONUP's :-( Pin
Taka Muraoka30-Aug-05 7:09
Taka Muraoka30-Aug-05 7:09 
Questionhow to write the data of datetime type in database to the html document? Pin
liuyue29-Aug-05 4:15
liuyue29-Aug-05 4:15 
AnswerRe: how to write the data of datetime type in database to the html document? Pin
Marc Soleda29-Aug-05 5:12
Marc Soleda29-Aug-05 5:12 
GeneralRe: how to write the data of datetime type in database to the html document? Pin
liuyue29-Aug-05 14:12
liuyue29-Aug-05 14:12 
GeneralRe: how to write the data of datetime type in database to the html document? Pin
Marc Soleda29-Aug-05 20:10
Marc Soleda29-Aug-05 20:10 
QuestionStarting macro from c++ Pin
Kreatief29-Aug-05 4:02
Kreatief29-Aug-05 4:02 
QuestionIs it better solution for Refreshing Problem in List Control... Pin
Ravi Sankar S29-Aug-05 3:47
Ravi Sankar S29-Aug-05 3:47 
QuestionProblem with Eventlog in Windows 2003 server Pin
DasdaDAS29-Aug-05 3:34
DasdaDAS29-Aug-05 3:34 
I have a dll which is getting instantiated from one virtual directory. And inside the dll I'm calling the following functions.

HANDLE hEventSource = RegisterEventSource(NULL, _T("TrxDax") );
if (hEventSource != NULL)
{
..
int b = ReportEvent(hEventSource, EVENTLOG_ERROR_TYPE, 0, 0x00000001L, NULL, 1, 0, (LPCTSTR*) &lpStrings[0], NULL);
...
}

1. Actually the RegisterEventSource() call is failing if the call is made from virtual dir. in Win2003. GetLastError() is returning error value(5) meaning Access denied for the call.
2. But the same thing is working on earlier versions(win2000,XP..).
3. And when the above code is used in a .exe file(simple exe file), then it's working in Win2003. Meaning..(error is reported in eventlog).
4. So, Does the enhanced security in 2003 is blocking the call when it's instantiated through virtual dir.?

Is it clear? or do let me know if some more input is needed..

Thanks


Find a job u love and u'll never have to work for a day in your life....
Zxczc
QuestionCommunication with the existing driver Pin
Paresh emb29-Aug-05 3:27
Paresh emb29-Aug-05 3:27 
QuestionFormatting in the Rich Edit Control Pin
Dave Kerr29-Aug-05 3:25
Dave Kerr29-Aug-05 3:25 
Questionwho can tell me what fomat the audio file *.ssu is. Pin
wpjob29-Aug-05 2:24
wpjob29-Aug-05 2:24 
Answerthe data in the file is: Pin
wpjob29-Aug-05 2:28
wpjob29-Aug-05 2:28 
JokeRe: the data in the file is: Pin
toxcct29-Aug-05 2:41
toxcct29-Aug-05 2:41 
GeneralRe: the data in the file is: Pin
Jörgen Sigvardsson29-Aug-05 11:03
Jörgen Sigvardsson29-Aug-05 11:03 
AnswerRe: who can tell me what fomat the audio file *.ssu is. Pin
Cedric Moonen29-Aug-05 3:03
Cedric Moonen29-Aug-05 3:03 
QuestionThread problems... Pin
Lefteris_RG312029-Aug-05 2:21
Lefteris_RG312029-Aug-05 2:21 
AnswerRe: Thread problems... Pin
Jose Lamas Rios29-Aug-05 3:06
Jose Lamas Rios29-Aug-05 3:06 
QuestionSimple Question (sorry 4 the trouble again) :) Pin
Eytukan29-Aug-05 2:16
Eytukan29-Aug-05 2:16 
AnswerRe: Simple Question (sorry 4 the trouble again) :) [EDITED] Pin
toxcct29-Aug-05 2:22
toxcct29-Aug-05 2:22 
GeneralRe: Simple Question (sorry 4 the trouble again) :) Pin
Achim Klein29-Aug-05 2:35
Achim Klein29-Aug-05 2:35 
GeneralRe: Simple Question (sorry 4 the trouble again) :) Pin
toxcct29-Aug-05 2:37
toxcct29-Aug-05 2:37 
GeneralRe: Simple Question (sorry 4 the trouble again) :) [EDITED] Pin
Eytukan29-Aug-05 2:49
Eytukan29-Aug-05 2:49 
GeneralRe: Simple Question (sorry 4 the trouble again) :) [EDITED] Pin
Bob Stanneveld29-Aug-05 4:06
Bob Stanneveld29-Aug-05 4:06 
AnswerRe: Simple Question (sorry 4 the trouble again) :) Pin
Achim Klein29-Aug-05 2:31
Achim Klein29-Aug-05 2:31 
GeneralRe: Simple Question (sorry 4 the trouble again) :) Pin
Eytukan29-Aug-05 2:49
Eytukan29-Aug-05 2:49 

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.