Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Displaying the output of another program Pin
Richard MacCutchan29-Aug-14 5:37
mveRichard MacCutchan29-Aug-14 5:37 
AnswerMessage Closed Pin
29-Aug-14 5:59
oldbritthumper29-Aug-14 5:59 
GeneralRe: Displaying the output of another program Pin
Richard MacCutchan29-Aug-14 6:05
mveRichard MacCutchan29-Aug-14 6:05 
Questionbattleship game code using c language Pin
Member 1104199227-Aug-14 20:37
Member 1104199227-Aug-14 20:37 
AnswerRe: battleship game code using c language Pin
Richard MacCutchan27-Aug-14 22:15
mveRichard MacCutchan27-Aug-14 22:15 
AnswerRe: battleship game code using c language Pin
Member 1048772029-Aug-14 0:30
Member 1048772029-Aug-14 0:30 
QuestionTEventLogger Pin
Zdravko Donev25-Aug-14 9:34
Zdravko Donev25-Aug-14 9:34 
AnswerRe: TEventLogger Pin
Freak3027-Aug-14 1:25
Freak3027-Aug-14 1:25 
If I remember corrctly, you don't pass the message to Event Viewer directly, but you pass an application name and message id. You need a DLL that contains the texts to the ID (don't ask me in what format). And you need a specific registry key (in local machine I think) pointing the Event Viewer to the path of the DLL. We also used this approach long ago in one of our applications but aren't using it anymore because it's so complicated.

I would suggest the user needs to at least one directory where he/she has write permission. You could then enter the directory into some kind of ini file, read it on application start and write the log file into that directory.
The good thing about pessimism is, that you are always either right or pleasently surprised.

QuestionCMFCOutlookBar cannot return to pane 0. Pin
Drakesal25-Aug-14 0:12
Drakesal25-Aug-14 0:12 
Questionhow to pass a function which has variable arguments as template argument? Pin
Falconapollo24-Aug-14 5:37
Falconapollo24-Aug-14 5:37 
AnswerRe: how to pass a function which has variable arguments as template argument? Pin
jschell25-Aug-14 10:30
jschell25-Aug-14 10:30 
QuestionHow to ShellExecute a PDF to a specific page Pin
DanYELL23-Aug-14 17:28
DanYELL23-Aug-14 17:28 
AnswerRe: How to ShellExecute a PDF to a specific page Pin
enhzflep23-Aug-14 17:58
enhzflep23-Aug-14 17:58 
AnswerRe: How to ShellExecute a PDF to a specific page Pin
Richard MacCutchan23-Aug-14 22:30
mveRichard MacCutchan23-Aug-14 22:30 
AnswerRe: How to ShellExecute a PDF to a specific page Pin
Graham Breach23-Aug-14 23:00
Graham Breach23-Aug-14 23:00 
QuestionRe: How to ShellExecute a PDF to a specific page Pin
David Crow25-Aug-14 3:52
David Crow25-Aug-14 3:52 
Questionhow this error has generated -c program? Pin
mybm122-Aug-14 20:33
mybm122-Aug-14 20:33 
QuestionRe: how this error has generated -c program? Pin
Richard MacCutchan22-Aug-14 21:07
mveRichard MacCutchan22-Aug-14 21:07 
AnswerRe: how this error has generated -c program? Pin
mybm122-Aug-14 22:42
mybm122-Aug-14 22:42 
GeneralRe: how this error has generated -c program? Pin
Richard MacCutchan23-Aug-14 0:16
mveRichard MacCutchan23-Aug-14 0:16 
Questioncan anyone suggest how to convert matlab code into c code..for resampling function Pin
mybm121-Aug-14 19:10
mybm121-Aug-14 19:10 
SuggestionRe: can anyone suggest how to convert matlab code into c code..for resampling function Pin
Richard MacCutchan21-Aug-14 21:50
mveRichard MacCutchan21-Aug-14 21:50 
GeneralRe: can anyone suggest how to convert matlab code into c code..for resampling function Pin
mybm121-Aug-14 23:11
mybm121-Aug-14 23:11 
GeneralRe: can anyone suggest how to convert matlab code into c code..for resampling function Pin
Richard MacCutchan21-Aug-14 23:23
mveRichard MacCutchan21-Aug-14 23:23 
GeneralRe: can anyone suggest how to convert matlab code into c code..for resampling function Pin
mybm121-Aug-14 23:25
mybm121-Aug-14 23:25 

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.