Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which is Better Pro*C/C++ or C# ??? Pin
Maximilien25-Mar-08 7:19
Maximilien25-Mar-08 7:19 
GeneralRe: Which is Better Pro*C/C++ or C# ??? Pin
Member 75496025-Mar-08 8:43
Member 75496025-Mar-08 8:43 
GeneralNeed help locating source of errors Pin
97C5ENVY25-Mar-08 6:03
97C5ENVY25-Mar-08 6:03 
GeneralRe: Need help locating source of errors Pin
Randor 25-Mar-08 6:15
professional Randor 25-Mar-08 6:15 
GeneralRe: Need help locating source of errors Pin
Mark Salsbery25-Mar-08 6:19
Mark Salsbery25-Mar-08 6:19 
GeneralSelect Item in ListView Control In VC++ 6 Win32 API Pin
bhat25-Mar-08 4:25
bhat25-Mar-08 4:25 
QuestionRe: Select Item in ListView Control In VC++ 6 Win32 API Pin
David Crow25-Mar-08 5:24
David Crow25-Mar-08 5:24 
GeneralCFtpConnection::Close Pin
William Engberts25-Mar-08 4:22
William Engberts25-Mar-08 4:22 
GeneralRe: CFtpConnection::Close Pin
led mike25-Mar-08 5:32
led mike25-Mar-08 5:32 
GeneralRe: CFtpConnection::Close Pin
William Engberts25-Mar-08 23:19
William Engberts25-Mar-08 23:19 
GeneralRe: CFtpConnection::Close Pin
led mike26-Mar-08 5:07
led mike26-Mar-08 5:07 
GeneralRe: CFtpConnection::Close Pin
William Engberts27-Mar-08 0:56
William Engberts27-Mar-08 0:56 
GeneralRe: CFtpConnection::Close Pin
led mike27-Mar-08 5:19
led mike27-Mar-08 5:19 
GeneralRe: CFtpConnection::Close Pin
Randor 25-Mar-08 6:05
professional Randor 25-Mar-08 6:05 
GeneralRetreive Createion and Modification time for Remote file Pin
chetanjoshi925-Mar-08 4:14
chetanjoshi925-Mar-08 4:14 
GeneralRe: Retreive Createion and Modification time for Remote file Pin
Peter Weyzen25-Mar-08 19:45
Peter Weyzen25-Mar-08 19:45 
GeneralNDIS Driver Development Pin
Eakalavya25-Mar-08 3:26
Eakalavya25-Mar-08 3:26 
GeneralRe: NDIS Driver Development Pin
Randor 25-Mar-08 5:17
professional Randor 25-Mar-08 5:17 
QuestionStart Process From Windows Service with Logged in User Token Pin
Somnath_Mali25-Mar-08 1:47
Somnath_Mali25-Mar-08 1:47 
QuestionHow to call c program from MFC/C++? Pin
johndoelee25-Mar-08 0:46
johndoelee25-Mar-08 0:46 
AnswerRe: How to call c program from MFC/C++? Pin
Rajkumar R25-Mar-08 1:08
Rajkumar R25-Mar-08 1:08 
AnswerRe: How to call c program from MFC/C++? Pin
CPallini25-Mar-08 1:36
mveCPallini25-Mar-08 1:36 
AnswerRe: How to call c program from MFC/C++? Pin
David Crow25-Mar-08 3:30
David Crow25-Mar-08 3:30 
AnswerRe: How to call c program from MFC/C++? Pin
johndoelee1-Apr-08 6:31
johndoelee1-Apr-08 6:31 
AnswerRe: How to call c program from MFC/C++? Pin
johndoelee26-Mar-08 3:13
johndoelee26-Mar-08 3:13 
Dear all,

Thank you for the suggestions from you guys.

Actually, I added a button on the GUI, which is the source code from Mr. Tahir Naeem from http://www.codeproject.com/KB/cpp/media_player.aspx[^]. That button is designed to call an exe from a C project for mpeg2 decodng.

For testing the program, I tried to call windows messenger by the program. The path of MSN is tested and can be called by cmd. The mpeg2dec.exe can be run at cmd as well.

However, the trials still don't work after I copied and modified the code form the suggested webpages from you guys added inside the OnBnClickedMpegdecoder(). I tried extern "C"{}, WinExec () and ShellExecute (). No window for MSN login can be displayed.

Where should I add the exe calling command? Is it inside the OnBnClickedMpegdecoder()?

I am sorry to bother your guys again as I'm a programming beginner. Grazie!

John

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.