I've got an application that my customers use on both their desktops (XP) and their tablets (XP TabletPC Edition 2005)
Under normal XP, launching the application adds a process named "myapp.exe" to the windows process list. As soon as my app appears, this process goes away.
Under XP TabletPC Ed., launching the application adds a process named "myapp.exe" into the windows process list. This process never goes away, even after I leave the application. Once exited, I can launch the application again, and now a second process named "myapp.exe" is added to the windows process list.
I initially found this because a customer was trying to uninstall and the uninstall app said that the directory containing the "myapp.exe" file was still in use. I had the customer look in his process list and he found 7 "myapp.exe" processes running!
I have tried generating the exe with both the "keep alive" set to true and false, both times I'm seeing this problem.
I've tested and verified that this is happening on several types of machines running XP TabletPC Edition:
I'm facing the same problem with XP Tablet PC Edition on HP-Tablets.
Even without a splash screen and proper termination-code (System.exit(0)) the process is still showing up in the Task-Manager after closing the app.
Can I do anything about that?
Great app! Thx in advance, NavajoCode
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've got an application that my customers use on both their desktops (XP) and their tablets (XP TabletPC Edition 2005)
Under normal XP, launching the application adds a process named "myapp.exe" to the windows process list. As soon as my app appears, this process goes away.
Under XP TabletPC Ed., launching the application adds a process named "myapp.exe" into the windows process list. This process never goes away, even after I leave the application. Once exited, I can launch the application again, and now a second process named "myapp.exe" is added to the windows process list.
I initially found this because a customer was trying to uninstall and the uninstall app said that the directory containing the "myapp.exe" file was still in use. I had the customer look in his process list and he found 7 "myapp.exe" processes running!
I have tried generating the exe with both the "keep alive" set to true and false, both times I'm seeing this problem.
I've tested and verified that this is happening on several types of machines running XP TabletPC Edition:
1. Toshiba Laptop
2. Panosonic Toughbook
3. Hammerhead DRS Hammerhead Extreme
Thanks in advance for your help...
I'm guessing that the Windows API might slightly differ on the tablet, I'd have to check that.
Are you using a splash screen, if so how is it configured? Are you using System.Exit to close your app ?
Grzegorz
I'm facing the same problem with XP Tablet PC Edition on HP-Tablets.
Even without a splash screen and proper termination-code (System.exit(0)) the process is still showing up in the Task-Manager after closing the app.
Can I do anything about that?
Great app! Thx in advance, NavajoCode
Hi,
Download the newest version and run it with the --l4j-debug option and see if there is a "Exit code:" entry in the log.
Grzegorz
Thanks for the reply...
We are using a splash screen. Below is our config xml. In our application we're actually using Runtime.getRuntime().halt( 0 );
=========================================
- <launch4jConfig>
<dontWrapJar>true</dontWrapJar>
<headerType>gui</headerType>
<jar />
<outfile>C:\my-app, v2.0.exe</outfile>
<errTitle />
<cmdLine />
<chdir />
<priority>normal</priority>
<downloadUrl>http://java.com/download</downloadUrl>
<supportUrl />
<customProcName>false</customProcName>
<stayAlive>false</stayAlive>
<icon>C:\icon.ico</icon>
- <classPath>
<mainClass>com.xxx.xxx.xxx.MyApplication</mainClass>
<cp>C:\Program Files\xxx\client\system\lib\*.*</cp>
</classPath>
- <jre>
<path>..\jre\</path>
<minVersion>1.6.0</minVersion>
<maxVersion />
<dontUsePrivateJres>false</dontUsePrivateJres>
<initialHeapSize>512</initialHeapSize>
<maxHeapSize>512</maxHeapSize>
<opt>-verbose</opt>
</jre>
- <splash>
<file>C:\logo.bmp</file>
<waitForWindow>true</waitForWindow>
<timeout>60</timeout>
<timeoutErr>true</timeoutErr>
</splash>
</launch4jConfig>
Hi,
I'm working with launch4j 3.0.2 and I have the same issue on an "XP Tablet PC"
Does any one have a fix for this issue?
Thanks
Hi,
I launch my application with -l4j-debug option. And i saw that :
Exit code: 0
So, does any one have an idea????
Thanks