Click here to Skip to main content
15,905,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem in tapiRequestMakeCall Pin
guru moorthy.k1-Jul-08 23:00
guru moorthy.k1-Jul-08 23:00 
GeneralRe: problem in tapiRequestMakeCall Pin
guru moorthy.k2-Jul-08 0:33
guru moorthy.k2-Jul-08 0:33 
GeneralRe: problem in tapiRequestMakeCall Pin
Saurabh.Garg2-Jul-08 3:18
Saurabh.Garg2-Jul-08 3:18 
GeneralRe: problem in tapiRequestMakeCall Pin
Alan Balkany2-Jul-08 4:20
Alan Balkany2-Jul-08 4:20 
AnswerRe: problem in tapiRequestMakeCall Pin
Hamid_RT1-Jul-08 20:58
Hamid_RT1-Jul-08 20:58 
QuestionDetermining how an EXE was started Pin
Harirajan1-Jul-08 20:41
Harirajan1-Jul-08 20:41 
AnswerRe: Determining how an EXE was started Pin
Saurabh.Garg1-Jul-08 21:08
Saurabh.Garg1-Jul-08 21:08 
GeneralRe: Determining how an EXE was started Pin
Harirajan1-Jul-08 21:18
Harirajan1-Jul-08 21:18 
Thanks.

I am developing an dialog Based MFC application whic has two mode of operation. One is Configuration mode another one is Execution mode. Configuration mode is used by the Administrator where as Execution mode is used in the client. In configuration mode user admin is shown with configuration dialog but in execution mode the exe will run as a background process so the client user will not be provided with any interface.

In Configuration mode the admin has to explicitly run the exe by "Double click/ Right click and select ". But in execution mode exe will be invoked from the scheduler.

So if i know the Startup mode of an exe i can able to launch the application according to that. That is if the start up mode is "double click on exe " i will run the exe in configuration mode and show the dialog to the admin. If the startup mode is "Invoking from other process" then i will just run the exe as a background process.

Hope u might have understood my requirement.

Now pls tell me how can i go about it? Or tell me some other method in which i can meet my requirement.

Thanks in advance.

Hariharan R

GeneralRe: Determining how an EXE was started Pin
Saurabh.Garg1-Jul-08 21:25
Saurabh.Garg1-Jul-08 21:25 
GeneralRe: Determining how an EXE was started Pin
Harirajan1-Jul-08 21:56
Harirajan1-Jul-08 21:56 
GeneralRe: Determining how an EXE was started Pin
Saurabh.Garg1-Jul-08 22:14
Saurabh.Garg1-Jul-08 22:14 
GeneralRe: Determining how an EXE was started Pin
Harirajan1-Jul-08 22:18
Harirajan1-Jul-08 22:18 
QuestionHow to capture pen draw area Pin
cigogo1-Jul-08 18:03
cigogo1-Jul-08 18:03 
AnswerRe: How to capture pen draw area Pin
sashoalm1-Jul-08 20:13
sashoalm1-Jul-08 20:13 
QuestionInteresting quiz [modified] Pin
LiYS1-Jul-08 15:32
LiYS1-Jul-08 15:32 
AnswerRe: Interesting quiz Pin
Stephen Hewitt1-Jul-08 15:54
Stephen Hewitt1-Jul-08 15:54 
GeneralRe: Interesting quiz Pin
LiYS1-Jul-08 16:54
LiYS1-Jul-08 16:54 
AnswerRe: Interesting quiz Pin
Luc Pattyn1-Jul-08 16:26
sitebuilderLuc Pattyn1-Jul-08 16:26 
AnswerRe: Interesting quiz Pin
Stephen Hewitt1-Jul-08 17:29
Stephen Hewitt1-Jul-08 17:29 
AnswerRe: Interesting quiz Pin
David Crow2-Jul-08 5:35
David Crow2-Jul-08 5:35 
AnswerRe: Interesting quiz Pin
Iain Clarke, Warrior Programmer3-Jul-08 0:00
Iain Clarke, Warrior Programmer3-Jul-08 0:00 
QuestionDialog Box Variable Pin
bkelly131-Jul-08 12:22
bkelly131-Jul-08 12:22 
AnswerRe: Dialog Box Variable Pin
Saurabh.Garg1-Jul-08 15:04
Saurabh.Garg1-Jul-08 15:04 
GeneralRe: Dialog Box Variable Pin
bkelly131-Jul-08 15:21
bkelly131-Jul-08 15:21 
GeneralRe: Dialog Box Variable Pin
Saurabh.Garg1-Jul-08 16:32
Saurabh.Garg1-Jul-08 16:32 

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.