Click here to Skip to main content
16,012,061 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralToolBar Pin
6-Dec-00 17:00
suss6-Dec-00 17:00 
GeneralUnreal Tournament Code question Pin
keepvdubbin6-Dec-00 16:55
keepvdubbin6-Dec-00 16:55 
GeneralRe: Unreal Tournament Code question Pin
6-Dec-00 17:25
suss6-Dec-00 17:25 
GeneralRe: Unreal Tournament Code question Pin
keepvdubbin7-Dec-00 6:56
keepvdubbin7-Dec-00 6:56 
GeneralSiN and .sam files Pin
keepvdubbin6-Dec-00 16:54
keepvdubbin6-Dec-00 16:54 
Generalie / netscape Pin
6-Dec-00 13:36
suss6-Dec-00 13:36 
QuestionHow to run a .js from a MFC program? Pin
Joep6-Dec-00 12:24
Joep6-Dec-00 12:24 
AnswerRe: How to run a .js from a MFC program? Pin
Michael Dunn6-Dec-00 17:13
sitebuilderMichael Dunn6-Dec-00 17:13 
You'd need to run wscript.exe (the program that reads the .js file and executes it) with CreateProcess(), and wait on the process handle. The parameter to WScript.Quit() is the exit value of the process, which you get with GetExitCodeProcess().

Check out the article "An Introduction to Processes: Asynchronous Process Notification" for help with using those APIs.

--Mike--
http://home.inreach.com/mdunn/
"Didn't I tell you? I've got a brain the size of a planet."
  --Marvin the paranoid android
GeneralRe: How to run a .js from a MFC program? Pin
Joep7-Dec-00 22:36
Joep7-Dec-00 22:36 
GeneralProblems with accelerators Pin
6-Dec-00 5:58
suss6-Dec-00 5:58 
GeneralRe: Problems with accelerators Pin
Christian Graus6-Dec-00 9:33
protectorChristian Graus6-Dec-00 9:33 
GeneralWhile using DAO with VC++ or VB..... Pin
6-Dec-00 5:51
suss6-Dec-00 5:51 
GeneralWhile using DAO with VC++ or VB..... Pin
6-Dec-00 5:51
suss6-Dec-00 5:51 
GeneralWhile using DAO with VC++ or VB..... Pin
6-Dec-00 5:50
suss6-Dec-00 5:50 
GeneralRe: While using DAO with VC++ or VB..... Pin
Chris Meech6-Dec-00 6:39
Chris Meech6-Dec-00 6:39 
GeneralCall a function In MainFrame.cpp from NameView.cpp Pin
6-Dec-00 5:48
suss6-Dec-00 5:48 
GeneralRe: Call a function In MainFrame.cpp from NameView.cpp Pin
Christian Graus6-Dec-00 9:36
protectorChristian Graus6-Dec-00 9:36 
GeneralGetRandomRgn API has no definition in wingdi.h Pin
6-Dec-00 4:24
suss6-Dec-00 4:24 
GeneralRe: GetRandomRgn API has no definition in wingdi.h Pin
Michael Dunn6-Dec-00 12:36
sitebuilderMichael Dunn6-Dec-00 12:36 
GeneralRe: GetRandomRgn API has no definition in wingdi.h Pin
6-Dec-00 22:12
suss6-Dec-00 22:12 
GeneralPb with Rectangle API under Windows 2000 Pin
6-Dec-00 4:10
suss6-Dec-00 4:10 
GeneralSystem tray icon Pin
Amol Pargaonkar5-Dec-00 22:39
Amol Pargaonkar5-Dec-00 22:39 
GeneralNNTP server Pin
5-Dec-00 21:16
suss5-Dec-00 21:16 
GeneralPartial Specialisation Pin
5-Dec-00 20:17
suss5-Dec-00 20:17 
GeneralRe: Partial Specialisation Pin
Erik Funkenbusch6-Dec-00 10:53
Erik Funkenbusch6-Dec-00 10:53 

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.