Click here to Skip to main content
15,925,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 2:09
AnonymousBabe@usa.net29-Dec-01 2:09 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
PJ Arends29-Dec-01 12:38
professionalPJ Arends29-Dec-01 12:38 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 12:57
AnonymousBabe@usa.net29-Dec-01 12:57 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
Tim Smith29-Dec-01 13:52
Tim Smith29-Dec-01 13:52 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 14:58
AnonymousBabe@usa.net29-Dec-01 14:58 
GeneralRe: when will OnDraw function l be EXECUTED? Pin
AnonymousBabe@usa.net29-Dec-01 15:11
AnonymousBabe@usa.net29-Dec-01 15:11 
GeneralASP and spawning notepad Pin
Nish Nishant28-Dec-01 20:34
sitebuilderNish Nishant28-Dec-01 20:34 
GeneralRe: ASP and spawning notepad Pin
Konstantin Vasserman28-Dec-01 22:05
Konstantin Vasserman28-Dec-01 22:05 
Ahhhhh! What are you doing spawning GUI apps from IIS process? (that is a rhetorical questions). Smile | :)

I've never tried nor I will ever attempt to try to do what you are describing, but here are the few things to try/consider:

On properties of your web site in IIS under Home Directory tab there is a setting for Application Protection. Default setting is "Medium (Pooled)" you can try switching to "Low (IIS Process)".

Also everything you launch from IIS process is running under IUSR_MACHINENAME account. Does this account have sufficient permissions to run Notepad.exe or your GUIApp?

I believe that by default IIS does not let you launch "out-of-process" (I know we are not talking COM here but could not find a better term) processes. I know how to overcome this with COM, but I am not sure in your case. So if nothing else works you might want to turn your GUIApp into an out-of-process COM exe and then you will be able to Server.CreateObject it from ASP and make it do whatever you need. If your GUIApp is not something you wrote then you might want to create a separate out-of-process app that will in turn launch your GUIApp...

Boy, what a mess... I strongly recommend to find some other way of doing what you are doing. I have been supporting out-of-process COM component that is called from ASP for a while and it is a nightmare you do not want to have in your life - trust me.

I am sorry, if I am not much help...
GeneralRe: ASP and spawning notepad Pin
Nish Nishant28-Dec-01 22:24
sitebuilderNish Nishant28-Dec-01 22:24 
GeneralResizing of Animation control Pin
v_krishnan28-Dec-01 19:10
v_krishnan28-Dec-01 19:10 
GeneralError Checking Pin
Stephen Caldwell28-Dec-01 18:06
Stephen Caldwell28-Dec-01 18:06 
QuestionHow to make a Picture Transparent Using Memory DC only Pin
clemence28-Dec-01 18:02
clemence28-Dec-01 18:02 
AnswerRe: How to make a Picture Transparent Using Memory DC only Pin
Christian Graus29-Dec-01 0:04
protectorChristian Graus29-Dec-01 0:04 
GeneralTransparency Pin
clemence28-Dec-01 18:00
clemence28-Dec-01 18:00 
GeneralRe: Transparency Pin
Christian Graus29-Dec-01 0:02
protectorChristian Graus29-Dec-01 0:02 
GeneralRe: Transparency Pin
clemence29-Dec-01 17:44
clemence29-Dec-01 17:44 
GeneralRe: Transparency Pin
Christian Graus29-Dec-01 23:05
protectorChristian Graus29-Dec-01 23:05 
GeneralUsing auto_ptr :: C++ Pin
valikac28-Dec-01 16:06
valikac28-Dec-01 16:06 
GeneralRe: Using auto_ptr :: C++ Pin
James R. Twine28-Dec-01 16:52
James R. Twine28-Dec-01 16:52 
GeneralRe: Using auto_ptr :: C++ Pin
valikac28-Dec-01 18:09
valikac28-Dec-01 18:09 
Questionwhen OnDraw will be EXECUTED? Pin
AnonymousBabe@usa.net28-Dec-01 14:29
AnonymousBabe@usa.net28-Dec-01 14:29 
GeneralDouble buffering and GDI+ Pin
Anders Molin28-Dec-01 11:52
professionalAnders Molin28-Dec-01 11:52 
GeneralRe: Double buffering and GDI+ Pin
Christian Graus28-Dec-01 15:04
protectorChristian Graus28-Dec-01 15:04 
GeneralRe: Double buffering and GDI+ Pin
Anders Molin29-Dec-01 3:57
professionalAnders Molin29-Dec-01 3:57 
Generalplease help Pin
hhh28-Dec-01 9:54
hhh28-Dec-01 9:54 

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.