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

C / C++ / MFC

 
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
AnswerRe: How to call c program from MFC/C++? Pin
Gofur Halmurat28-Mar-08 5:55
Gofur Halmurat28-Mar-08 5:55 
QuestionEasy way to get any urls sourse code? Pin
Gofur Halmurat24-Mar-08 23:11
Gofur Halmurat24-Mar-08 23:11 
AnswerRe: Easy way to get any urls sourse code? Pin
David Crow25-Mar-08 3:40
David Crow25-Mar-08 3:40 
AnswerRe: Easy way to get any urls sourse code? Pin
Gofur Halmurat26-Mar-08 5:58
Gofur Halmurat26-Mar-08 5:58 
QuestionHooking Pin
somasundarambe24-Mar-08 23:06
somasundarambe24-Mar-08 23:06 
QuestionRe: Hooking Pin
David Crow25-Mar-08 3:47
David Crow25-Mar-08 3:47 
GeneralAPI for getting resource Handle Pin
neha.agarwal2724-Mar-08 20:59
neha.agarwal2724-Mar-08 20:59 
GeneralRe: API for getting resource Handle Pin
Rajkumar R24-Mar-08 21:19
Rajkumar R24-Mar-08 21:19 
GeneralRe: API for getting resource Handle Pin
Randor 25-Mar-08 4:50
professional Randor 25-Mar-08 4:50 
QuestionHow to serialize a Gdiplus::Bitmap object? Pin
followait24-Mar-08 20:54
followait24-Mar-08 20:54 
AnswerRe: How to serialize a Gdiplus::Bitmap object? Pin
Rajkumar R25-Mar-08 2:36
Rajkumar R25-Mar-08 2:36 
GeneralRe: How to serialize a Gdiplus::Bitmap object? Pin
followait25-Mar-08 4:48
followait25-Mar-08 4:48 
QuestionABOUT CONCATINATION Pin
savitri24-Mar-08 20:37
savitri24-Mar-08 20:37 
QuestionRe: ABOUT CONCATINATION [modified] Pin
Rajkumar R24-Mar-08 20:52
Rajkumar R24-Mar-08 20:52 
GeneralRe: ABOUT CONCATINATION Pin
Peter Weyzen25-Mar-08 19:48
Peter Weyzen25-Mar-08 19:48 
Question'ImageList_AddIcon': identifier not found Pin
hitonly200824-Mar-08 19:30
hitonly200824-Mar-08 19:30 
GeneralRe: 'ImageList_AddIcon': identifier not found Pin
Rajkumar R24-Mar-08 20:37
Rajkumar R24-Mar-08 20:37 

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.