Click here to Skip to main content
15,891,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC 7 exe with MFC 4 dll ? Pin
nvatia26-Jul-06 4:17
nvatia26-Jul-06 4:17 
QuestionHow to disable help compiler call in VC6? Pin
Frank Isensee26-Jul-06 1:09
Frank Isensee26-Jul-06 1:09 
AnswerRe: How to disable help compiler call in VC6? Pin
David Crow26-Jul-06 2:56
David Crow26-Jul-06 2:56 
GeneralRe: How to disable help compiler call in VC6? Pin
Frank Isensee26-Jul-06 3:51
Frank Isensee26-Jul-06 3:51 
GeneralRe: How to disable help compiler call in VC6? Pin
David Crow26-Jul-06 4:06
David Crow26-Jul-06 4:06 
GeneralRe: How to disable help compiler call in VC6? Pin
Frank Isensee26-Jul-06 5:11
Frank Isensee26-Jul-06 5:11 
GeneralRe: How to disable help compiler call in VC6? Pin
Zac Howland26-Jul-06 4:12
Zac Howland26-Jul-06 4:12 
Question"#USING " in vc++6 ?? Pin
fx920026-Jul-06 1:00
fx920026-Jul-06 1:00 
HELLO
I copied a code from the microsoft documentation in order to list loca eventlogs
but it seems to be writed for .NET version.
but it dosen't work also in .net studio

can Someone help me?


#using <mscorlib.dll>
#using <system.dll>

using namespace System;
using namespace System::Diagnostics;
using namespace System::Threading;



int main()
{
// TODO: Place code here.


EventLog* localEventLogs[];

localEventLogs = EventLog::GetEventLogs();

Console::WriteLine(S"Number of logs on local computer: {0}", __box(localEventLogs->Length));

System::Collections::IEnumerator* myEnum = localEventLogs->GetEnumerator();
while (myEnum->MoveNext())
{
EventLog* log = __try_cast<eventlog*>(myEnum->Current);
Console::WriteLine(S"Log: {0}", log->Log);
}
return 0;



}
AnswerRe: "#USING " in vc++6 ?? Pin
Christian Graus26-Jul-06 1:02
protectorChristian Graus26-Jul-06 1:02 
GeneralRe: "#USING " in vc++6 ?? Pin
fx920026-Jul-06 1:14
fx920026-Jul-06 1:14 
GeneralRe: "#USING " in vc++6 ?? Pin
Christian Graus26-Jul-06 2:09
protectorChristian Graus26-Jul-06 2:09 
QuestionRe: "#USING " in vc++6 ?? Pin
David Crow26-Jul-06 2:58
David Crow26-Jul-06 2:58 
AnswerRe: "#USING " in vc++6 ?? Pin
Mike Dimmick26-Jul-06 3:36
Mike Dimmick26-Jul-06 3:36 
GeneralUsing VS2005 DLL with VC6 program Pin
hairy_hats26-Jul-06 0:51
hairy_hats26-Jul-06 0:51 
GeneralRe: Using VS2005 DLL with VC6 program Pin
Cedric Moonen26-Jul-06 1:00
Cedric Moonen26-Jul-06 1:00 
GeneralRe: Using VS2005 DLL with VC6 program Pin
hairy_hats26-Jul-06 2:40
hairy_hats26-Jul-06 2:40 
GeneralRe: Using VS2005 DLL with VC6 program Pin
Cedric Moonen26-Jul-06 2:55
Cedric Moonen26-Jul-06 2:55 
GeneralRe: Using VS2005 DLL with VC6 program Pin
Mike Dimmick26-Jul-06 3:33
Mike Dimmick26-Jul-06 3:33 
QuestionWhy it fails? Pin
Sarath C26-Jul-06 0:40
Sarath C26-Jul-06 0:40 
AnswerRe: Why it fails? Pin
Stephen Hewitt26-Jul-06 0:44
Stephen Hewitt26-Jul-06 0:44 
AnswerRe: Why it fails? Pin
David Crow26-Jul-06 3:04
David Crow26-Jul-06 3:04 
GeneralRe: Why it fails? Pin
Zac Howland26-Jul-06 4:21
Zac Howland26-Jul-06 4:21 
GeneralRe: Why it fails? Pin
Saravanan Sundaresan27-Jul-06 2:16
professionalSaravanan Sundaresan27-Jul-06 2:16 
GeneralRe: Why it fails? Pin
David Crow27-Jul-06 3:01
David Crow27-Jul-06 3:01 
GeneralRe: Why it fails? Pin
Zac Howland28-Jul-06 3:51
Zac Howland28-Jul-06 3:51 

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.