PDA

View Full Version : Killing an application object



NewsArchive
12-04-2001, 01:00 AM
Hello,

We are designing a short demo presentation thanks to Demoshield. Our
demo create an application object to run our application for which we
need a demo presentation.
We are able to start/Launch our application from the demo, but are not
able to kill it by sending it the following keys %{f4}.

If we replace our application with Notepad for example, we are able to
launch and kill this application from the demo.

Our application , called UIM32.exe, is a 32bits executable designed
under VC++ 6.00.
With Demoshieldspy we have the following values:
class: Afx:400000:b:10008:6:9e0708
Caption: UIM.

We are using demoshield v6.00.

If somebody have some ideas or tips, thank you to send them to me.

Regards,
Philippe.

NewsArchive
12-06-2001, 01:00 AM
Philippe Rolland,

There are three options within the Application Object in which to terminate
the application. The three options are: when scene terminates, when demo
terminates or never terminate. The reason for this is because the
application is actaully associated with the scene in which it is being
launched from.

Instead of using an Application Object, you may want to consider using an
Event Object with a Launch Application action. Using this action, the
application you are launching will simply be launched from the demo and
should respond to the commands you are sending.

To set this up simply Import your application resource by Reference into the
Files tab of the Resource Manager.
Create an Event Object in the scene in which you would like the application
to be launched.
Open the Properties to the Event Object and navigate to the Object Styles
tab.
Enter the time you would like this to occur.
Next, select the Actions tab.
Click on True Actions and then click on the New button.
Select Launch Application from the action drop down menu.
Click Next.
Assign the following settings for the action:

Application name: <path>filename.exe<path>
Set current working directory: No
Application Command Line: (leave blank, unless you have some parameters you
wish to pass to the file)
Wait for Application to End: No

I hope this helps.

Kim Haffey
DemoShield Technical Support

"Philippe Rolland" <philippe.rolland@acterna.com> wrote in message
news:3C0D0342.54757A6D@acterna.com...
> Hello,
>
> We are designing a short demo presentation thanks to Demoshield. Our
> demo create an application object to run our application for which we
> need a demo presentation.
> We are able to start/Launch our application from the demo, but are not
> able to kill it by sending it the following keys %{f4}.
>
> If we replace our application with Notepad for example, we are able to
> launch and kill this application from the demo.
>
> Our application , called UIM32.exe, is a 32bits executable designed
> under VC++ 6.00.
> With Demoshieldspy we have the following values:
> class: Afx:400000:b:10008:6:9e0708
> Caption: UIM.
>
> We are using demoshield v6.00.
>
> If somebody have some ideas or tips, thank you to send them to me.
>
> Regards,
> Philippe.
>
>

NewsArchive
12-06-2001, 01:00 AM
Hello world

Philippe Rolland,

There are three options within the Application Object in which to terminate
the application. The three options are: when scene terminates, when demo
terminates or never terminate. The reason for this is because the
application is actaully associated with the scene in which it is being
launched from.

Instead of using an Application Object, you may want to consider using an
Event Object with a Launch Application action. Using this action, the
application you are launching will simply be launched from the demo and
should respond to the commands you are sending.

To set this up simply Import your application resource by Reference into the
Files tab of the Resource Manager.
Create an Event Object in the scene in which you would like the application
to be launched.
Open the Properties to the Event Object and navigate to the Object Styles
tab.
Enter the time you would like this to occur.
Next, select the Actions tab.
Click on True Actions and then click on the New button.
Select Launch Application from the action drop down menu.
Click Next.
Assign the following settings for the action:

Application name: <path>filename.exe<path>
Set current working directory: No
Application Command Line: (leave blank, unless you have some parameters you
wish to pass to the file)
Wait for Application to End: No

I hope this helps.

Kim Haffey
DemoShield Technical Support

"Philippe Rolland" <philippe.rolland@acterna.com> wrote in message
news:3C0D0342.54757A6D@acterna.com...
> Hello,
>
> We are designing a short demo presentation thanks to Demoshield. Our
> demo create an application object to run our application for which we
> need a demo presentation.
> We are able to start/Launch our application from the demo, but are not
> able to kill it by sending it the following keys %{f4}.
>
> If we replace our application with Notepad for example, we are able to
> launch and kill this application from the demo.
>
> Our application , called UIM32.exe, is a 32bits executable designed
> under VC++ 6.00.
> With Demoshieldspy we have the following values:
> class: Afx:400000:b:10008:6:9e0708
> Caption: UIM.
>
> We are using demoshield v6.00.
>
> If somebody have some ideas or tips, thank you to send them to me.
>
> Regards,
> Philippe.
>
>