Click here to Skip to main content
15,909,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGetting Network Info and writing "TcpView" Pin
Akin Ocal12-Jun-07 10:12
Akin Ocal12-Jun-07 10:12 
QuestionRe: Getting Network Info and writing "TcpView" Pin
David Crow12-Jun-07 10:28
David Crow12-Jun-07 10:28 
QuestionHow don't let run a program from another Pin
doctorpi12-Jun-07 8:03
doctorpi12-Jun-07 8:03 
QuestionRe: How don't let run a program from another Pin
David Crow12-Jun-07 10:52
David Crow12-Jun-07 10:52 
AnswerRe: How don't let run a program from another Pin
toxcct12-Jun-07 11:28
toxcct12-Jun-07 11:28 
AnswerRe: How don't let run a program from another Pin
Hamid_RT12-Jun-07 19:50
Hamid_RT12-Jun-07 19:50 
GeneralRe: How don't let run a program from another Pin
doctorpi12-Jun-07 21:10
doctorpi12-Jun-07 21:10 
Questionspamassassin(execute another process not executing) Pin
_tasleem12-Jun-07 6:49
_tasleem12-Jun-07 6:49 
hi all,
i m using spamassassin to filter my mails as spam or not, but i m unable to execute spamassassin.exe,it works fine when i call that exe from DOS(command prompt)with same commandline argument, here is the code i m using,
C++
HINSTANCE hins =::ShellExecute(NULL,"open","F:/sa/spamassassin.exe","<F:/spam.txt> F:/spamT.txt",NULL,SW_HIDE); in this situation exe invoke and then disappear without executing as i seen tha through task manager, when i call above line of code behind a button then process increases in task manager and then it decreases, without full execution.

here is the command which i paste on DOS and works fine,
any idea.
C:\Documents and Settings\tasleemarif>F:/sa/spamassassin.exe <F:/spam.txt> F:/spamT.txt"
i have also tried that using C++ spawn functions as well but did not work too. any idea r any person can guide me how had worked on spamassisn.



Regards.
Tasleem Arif

QuestionRe: spamassassin(execute another process not executing) Pin
David Crow12-Jun-07 7:05
David Crow12-Jun-07 7:05 
AnswerRe: spamassassin(execute another process not executing) Pin
_tasleem12-Jun-07 9:43
_tasleem12-Jun-07 9:43 
QuestionRe: spamassassin(execute another process not executing) Pin
David Crow12-Jun-07 10:26
David Crow12-Jun-07 10:26 
AnswerRe: spamassassin(execute another process not executing) Pin
_tasleem13-Jun-07 3:45
_tasleem13-Jun-07 3:45 
QuestionRe: spamassassin(execute another process not executing) Pin
David Crow13-Jun-07 3:52
David Crow13-Jun-07 3:52 
QuestionList ctrl blinking items problem Pin
eli1502197912-Jun-07 6:28
eli1502197912-Jun-07 6:28 
AnswerRe: List ctrl blinking items problem [modified] Pin
Max Santos12-Jun-07 7:12
Max Santos12-Jun-07 7:12 
AnswerRe: List ctrl blinking items problem Pin
Mark Salsbery12-Jun-07 8:13
Mark Salsbery12-Jun-07 8:13 
GeneralRe: List ctrl blinking items problem Pin
eli1502197912-Jun-07 19:54
eli1502197912-Jun-07 19:54 
GeneralRe: List ctrl blinking items problem Pin
Mark Salsbery12-Jun-07 22:03
Mark Salsbery12-Jun-07 22:03 
QuestionGarbage in String Pin
Programm3r12-Jun-07 6:10
Programm3r12-Jun-07 6:10 
AnswerRe: Garbage in String Pin
David Crow12-Jun-07 6:51
David Crow12-Jun-07 6:51 
QuestionRe: Garbage in String Pin
Programm3r12-Jun-07 7:27
Programm3r12-Jun-07 7:27 
QuestionRe: Garbage in String Pin
David Crow12-Jun-07 7:33
David Crow12-Jun-07 7:33 
GeneralRe: Garbage in String Pin
Programm3r12-Jun-07 7:49
Programm3r12-Jun-07 7:49 
AnswerRe: Garbage in String Pin
toxcct12-Jun-07 16:30
toxcct12-Jun-07 16:30 
QuestionDraggable objects Pin
Perspx12-Jun-07 5:55
Perspx12-Jun-07 5:55 

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.