Applet run exe with dll

Hi, i have a problem with a applet
From my jsp i call my jar applet signed
This applet call a client program .exe for digital sign created in java.
     // FUNZIONE PER ESEGUIRE UN FILE .EXE O .BAT
     public int runFile(String pathfile){
          int exitVal = 0;
          String errors = "";
          try {
               Runtime rt = Runtime.getRuntime();
               Process proc = rt.exec(pathfile);
               InputStream stderr = proc.getErrorStream();
               InputStreamReader isr = new InputStreamReader(stderr);
               BufferedReader br = new BufferedReader(isr);
               String line = null;
               errors = errors + "Process exeFileName: " + pathfile + "\r\n";
               while ( (line = br.readLine()) != null){
                    errors = errors + line + "\r\n";
               exitVal = proc.waitFor();
               errors = errors + "Process exitValue: " + exitVal;
          } catch (Throwable t){
               // SCRITTURA LOG
               System.out.println("JAVA ERROR " + t.getMessage());
               JOptionPane.showMessageDialog(null, t.getMessage());
               exitVal = -1;
          return exitVal;
     }For digital sign use javasign library and 3 dll.
the problem is that when i run exe manually work, but when i run from applet it's block before sign..
(lock between message "1" and "2"
     public void firmaFile(String pathSource, String pathDest, String code_pin) {
          String returnValue = "";
               File src = new File(pathSource);
               File dest = new File(pathDest);
               String driver="incryptoki2.dll";
               String KEY_LABEL="DSPrivateKey#0";
               try {
                    JOptionPane.showMessageDialog(null,"1");     
                    CryptokiGenerator p7genSC = new CryptokiGenerator(driver,src,dest,KEY_LABEL,code_pin);
                    JOptionPane.showMessageDialog(null,"2");     
                    p7genSC.generate();
                    JOptionPane.showMessageDialog(null,"3");     
               } catch (Exception e) {
              }i think the problem is caused from use dll, but why ???
can you help me ??
sorry for my bad english..

Solved !!
in your link i found error code..
when run exe i MUST read ErrorStream and InputStream in two separate thread !!!!
public class RunnableHelper {
     // COSTANTI
     private static final String LOGGER_PREFIX = "Vega-Firma Digitale";
     // FUNZIONE PER ESEGUIRE UN FILE .EXE O .BAT
     public int runFile(String pathfile){
          int exitVal = 0;
          String errors = "";
          try {
               Runtime rt = Runtime.getRuntime();
               Process proc = rt.exec(pathfile);
               /* error code !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
               InputStream stdout = proc.getInputStream();
               InputStreamReader isrout = new InputStreamReader(stdout);
               BufferedReader brout = new BufferedReader(isrout);
               line = null;
               messages = messages + "Process exeFileName: " + pathfile + "\r\n";
               while ( (line = brout.readLine()) != null){
                    messages = messages + line + "\r\n";
               InputStream stderr = proc.getErrorStream();
               InputStreamReader isr = new InputStreamReader(stderr);
               BufferedReader br = new BufferedReader(isr);
               line = null;
               errors = errors + "Process exeFileName: " + pathfile + "\r\n";
               while ( (line = br.readLine()) != null){
                    errors = errors + line + "\r\n";
            // correct code     
            StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR");           
            StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT");
            errorGobbler.start();
            outputGobbler.start();
               exitVal = proc.waitFor();
               errors = errors + "Process exitValue: " + exitVal;
          } catch (Throwable t){
               // SCRITTURA LOG
               System.out.println("JAVA ERROR " + t.getMessage());
               exitVal = -1;
          return exitVal;
     // CLASSE INTERNA PER LETTURA STREAM
     class StreamGobbler extends Thread
         InputStream is;
         String type;
         StreamGobbler(InputStream is, String type)
             this.is = is;
             this.type = type;
         public void run()
             try
                 InputStreamReader isr = new InputStreamReader(is);
                 BufferedReader br = new BufferedReader(isr);
                 String line=null;
                 while ( (line = br.readLine()) != null)
                     System.out.println(type + ">" + line);   
                 } catch (IOException ioe)
                     ioe.printStackTrace(); 
}Thanks for good link !!
Edited by: SWING_resize_component on 18-mag-2009 16.26

Similar Messages

  • Running .exe with VDM RTE

    Hi,
    I have written an executable in Labwindows/CVI that implements imaqSubtract and imaqThreshold and I'm trying to run it on another computer that has the Vision Run-Time license on it but It will not do the subtraction or threshold.  Is there something special I need to do when building the executable to make it run on a computer with only the Run-Time license?  Thanks!
    Solved!
    Go to Solution.

    When you say "It will not do the subtraction or threshold" what do you mean? Are you getting a specific error? Are you getting a hang in your program? If you could give a little more information it might narrow down the possibilities for what's going on.
    Licensing is something that people often get confused on with vision software. You may want to double check that everything is set up right. You can see a bit of information about licensing and applications with the Vision Development Module in this KnowledgeBase http://digital.ni.com/public.nsf/allkb/F1699570F78​FECBB86256B5200665134?OpenDocument#VDMRTE
    Miles G.
    National Instruments
    Applications Engineer

  • How to Run EXE From Applet...

    Hi everyone...
    I want to run EXE from Applet ...
    I tried it .. It runs good at Normal Case...
    But when I embed it with HTML it provides Access Denied Exception...
    can anyone give me the idea for Invoking an EXE From Applets loaded in browser....

    Hi,
    Your applet must be signed.
    Hope that help,
    Jack

  • How to run .exe files with DAQ on a target PC?

    Hi,
    I want to run LabVIEW executable files on a target PC, where there is no LabVIEW installed. These files are used to do measurement using DAQ devices.
    In order to run these .exe file, I guess that I should install both LabVIEW Runtime Engine and NI-DAQmx on the target PC. Is it right?
    I'm wondering if it is mantatory to install NI-DAQmx on the target PC. I tried running .exe files without NI-DAQmx installed, but there was an error: nilvaiu.dll couldn't be found. Shouldn't this file be included automatically when building the executable files?
    Thanks,
    Qifu

    No, none of the hardware drivers are included in the LabVIEW exe that you build. You have to install DAQmx. With LabVIEW 8.x, you can include the DAQmx driver with the installer that you create. You also have the option to install different versions of DAQmx. These different versions are smaller than the full DAQmx install (i.e. you may choose to install documentation, MAX. etc.). When you create the installer, you also inclue the LabVIEW run-time and you should also choose to install the hardware configureation that is in MAX.

  • Applet runs with jre 1.5 but not jre 1.6

    I'm working on an applet which works just fine when 1.5.0_15 is the latest JRE installed on the PC, but does not work when 1.6.0_6 is installed. In the latter case, the applet does not load due to getting a NoClassDefFoundError. Here's the Java Console error trace:
    java.lang.NoClassDefFoundError: com/hp/nonstop/hsc/core/configuration/ConfigurationMetaData
            at com.hp.nonstop.hsc.tools.configurator.ConfiguratorApplet.init(ConfiguratorApplet.java:53)
            at sun.applet.AppletPanel.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.hp.nonstop.hsc.core.configurati
    on.ConfigurationMetaData
            at sun.applet.AppletClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.applet.AppletClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            ... 3 moreThe relevant (I think) portions of the <object> generated by the JSP is:
    <object
        classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        name="ConfiguratorApplet" width="600" height="400"
        codebase="http://java.sun.com/products/plugin/1.3/jinstall-131-win32.cab">
    <param name="java_code" value="com.hp.nonstop.hsc.tools.configurator.ConfiguratorApplet.class">
    <param name="java_codebase" value="/HSC/configurator">
    <param name="java_archive" value="configurator.jar,../lib/configapi.jar,<<other jar files listed here>>">
    <<other param tags included here>>
    </object>The class it can't seem to find (under 1.6) is actually located in the configapi.jar file, which itself is located in the ../lib folder (relative to the /HSC/configurator folder where configurator.jar is located).
    Obviously, when the browser is using JRE 1.5.15 the VM engine can find all the needed classes as the applet runs OK. But when 1.6.6 is installed, things can't be found. I suspect something different in the search paths (though I thought the "java_archive" value was supposed to specify that), in the permissions needed to read the files, or something, but I just can't track down what the difference is (and thus why things are failing with 1.6 installed).
    Any help/ideas would be greatly appreciated!

    Stephen.Thomas wrote:
    have [you] tried moving the configapi.jar into the same folder as the configurator.jarYes, I have. I've also tried re-rooting the page to the lib directory where everything exists; i.e. changing java_codebase to /HSC/lib and changing java_archive so all jars referenced no longer have ../lib/ in them. Same behavior.
    It's almost as if the search path is behaving differently between 1.5 and 1.6, possibly not even being controlled by the values of java_codebase and java_archive at all.

  • How to run .exe files with Virtual PC for Mac

    Hey Guys, I'm new around here and with mac technology as well. Anyway, I have an iMac OS X 10.5.1 Leopard and I've recently purchased the Virtual PC for Mac 7.0.2 software. So I'd like to know how to use this program properly, because I need to run some executable files in my computer. It is confusing for me because I don't know how to get started, and I only get to the part when it says "OS not found, Install an OS on this hard drive".
    Honestly I've no idea of what an OS is or where do I get that. So I'd really appreciate if one of you guys could tell me, step by step, what to do to use Virtual PC properly, and finally learn how to run .exe files on mac.
    Thanks in advance!
    Have a nice day!

    Always nice to see new faces
    Honestly I've no idea of what an OS is or where do I get that.
    This brings up the second part of your problem. The first part is setting up either a proper Virtual Machine program like Parallels or VMfusion, or setting up a Boot Camp partition on your drive.
    http://www.parallels.com/
    http://www.vmware.com/products/fusion/
    OS stands for Operating System. You are running Leopard 10.5.7 as an operating system on your Mac (MacOS X).
    The second part of your problem - You will need a copy of Windows XP or Vista if you want to run Windows on your Mac.
    There is at least one other solution for running Windows programs on a Mac. It's called "CrossOver" by a company named 'Codeweavers'. It's based on a project for "Wine" to be able to run PC programs on a Mac or Linux, without having to buy or install Windows. It works with a narrow subset of Windows programs so you would want to make sure the program you want to run is compatible with CrossOver before you buy it.
    http://www.codeweavers.com/products/cxmac/
    In addition to all the above information, you need to upgrade your Mac to the latest 10.5.7 from 10.5.1. "Software Update" is located under the black Apple icon in the Menu Bar at the top left corner of your monitor. After you are updated you will want to update your Profile here so that it shows the proper OS version.
    With your level of experience with MacOS X and the Windows OS's you should probably get some help from a local Apple store. They have an appointment system and do offer many types of help and training, and they can offer assistance with choosing the proper programs for you to purchase for your machine.
    You are also welcome to continue to ask questions here, of course. You will want to ask your questions with different issues that come up in different threads so that the answers stay focused on the title of the thread.
    Message was edited by: dechamp to try to be more accurate with a fairly complicated issue...

  • How to run java signed applet in vista with changing IE security options

    how to run java signed applet in vista with changing IE security options. If i change the IE security settings to low. it works.
    without changing the security setting, how to run.

    j_nanaji9 wrote:
    how to run java signed applet in vista with changing IE security options. If i change the IE security settings to low. it works.
    without changing the security setting, how to run.Can't be done without changing the security setting.

  • To run an exe with lingo script

    I am making a tutor CD for children and I want to run a
    application exe with the help of Lingo Script plz. help with
    codings
    KUNDAN

    try:
    open "<fullPathToExe>"
    e.g.
    open (the moviePath)&"myApp.exe"
    "dankunus" <[email protected]> wrote in
    message
    news:efj1f2$fui$[email protected]..
    >I am making a tutor CD for children and I want to run a
    application exe
    >with the help of Lingo Script plz. help with codings
    >
    > KUNDAN

  • How to run labview exe with command line

    I would like to launch a labview exe with a command line.
    I would like to get advice how to launch the Labview exe with giving values to the control parameters?
    You can view the example where x,y are the controls
    Solved!
    Go to Solution.
    Attachments:
    exe.png ‏65 KB

    There is a much more detailed guide here, which I reference below:
    1. First you will enable it in the settings:
    1. Open the properties for the application's build specification
    2. Navigate to the Advanced category
    3. Check the Pass all command line arguments to application box
    To pass the command line arguments to the application and access them in your code follow the same steps as for LabVIEW 7.x.
    2. Then you will use two hypens (--) to pass command line arguments to the VI. 
    When you launch LabVIEW or a stand-alone executable from the command line, you can pass user-defined arguments to the application. User-defined arguments start after two hyphens (– –) surrounded by spaces in the command line. For example, the following command line entry will launch LabVIEW 7.1 and open test.vi from the root of C:\ and pass 2 arguments, 1000 and sine:
    "C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe" "C:\test.vi" –– 1000 sine
    You can also pass a command line argument directly to an EXE without launching LabVIEW, as long as the machine has the appropriate Run-Time Engine and necessary drivers.  For example, if test.vi was built into an executable, it could be called as follows:
    "<build directory>\test.exe" –– 1000 sine
    3. Lastly, you will use a property node to wire them to your controls:
    LabVIEW passes the arguments from the command line to the block diagram of the VI or EXE you launch. You can reference the arguments in the block diagram by using the Application:Command Line Arguments selection in a property node, as shown below.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If someone helped you out, please select their post as the solution and/or give them Kudos!

  • I downloaded itunessetup but when i open it it asks what program to run it with. but none of the programs listed would be a program to run a .exe program?

    so i downloaded itunessetup but when i open it it asks what program to run it with. but none of the programs listed would be a program to run a .exe program? what should i do?

    Maybe it didn't get the EXE extension.  If it does not have the extension, put one on it and see if that helps.
    If it has a DMG extension, it is the Mac version of the software.

  • Applet Crashes Browser with XP

    I have an applet, which runs normally when I just have a single instance of the applet on a page. However on another page I have a number of instances of the applet running. The page will load the first time but when I reload it the browser crashes and closes. I then get a file on my desktop called hs_err_pid****.log which contains the text below. I am running XP and JRE 1.4.2_03. The page will load fine using Microsoft JVM and after reading http://forum.java.sun.com/thread.jsp?forum=54&thread=347810 I tried this with 2000 and JRE 1.4.2_03. The page loads fine and does not crash. Does anyone know of any bugs related to XP, which could be causing this and any work arounds for them?
    Cheers
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x103C
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    at sun.plugin.services.WPlatformService.waitEvent(Native Method)
    at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.destroy(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000 C:\Program Files\Internet Explorer\iexplore.exe
    0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
    0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
    0x77C10000 - 0x77C63000 C:\WINDOWS\system32\msvcrt.dll
    0x77D40000 - 0x77DCC000 C:\WINDOWS\system32\USER32.dll
    0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll
    0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll
    0x78000000 - 0x78086000 C:\WINDOWS\system32\RPCRT4.dll
    0x70A70000 - 0x70AD4000 C:\WINDOWS\system32\SHLWAPI.dll
    0x769C0000 - 0x76B08000 C:\WINDOWS\System32\SHDOCVW.dll
    0x71950000 - 0x71A34000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
    0x773D0000 - 0x77BC2000 C:\WINDOWS\system32\SHELL32.dll
    0x77340000 - 0x773CB000 C:\WINDOWS\system32\comctl32.dll
    0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll
    0x75F80000 - 0x7607C000 C:\WINDOWS\System32\BROWSEUI.dll
    0x72430000 - 0x72442000 C:\WINDOWS\System32\browselc.dll
    0x75F40000 - 0x75F5F000 C:\WINDOWS\system32\appHelp.dll
    0x76FD0000 - 0x77048000 C:\WINDOWS\System32\CLBCATQ.DLL
    0x77120000 - 0x771AB000 C:\WINDOWS\system32\OLEAUT32.dll
    0x77050000 - 0x77115000 C:\WINDOWS\System32\COMRes.dll
    0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
    0x5AD70000 - 0x5ADA4000 C:\WINDOWS\System32\UxTheme.dll
    0x76200000 - 0x76298000 C:\WINDOWS\system32\WININET.dll
    0x762C0000 - 0x76348000 C:\WINDOWS\system32\CRYPT32.dll
    0x762A0000 - 0x762B0000 C:\WINDOWS\system32\MSASN1.dll
    0x76F90000 - 0x76FA0000 C:\WINDOWS\System32\Secur32.dll
    0x76620000 - 0x7666E000 C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661B000 C:\WINDOWS\System32\CSCDLL.dll
    0x76670000 - 0x76757000 C:\WINDOWS\System32\SETUPAPI.dll
    0x10000000 - 0x1000B000 C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
    0x00F50000 - 0x00F6C000 C:\Program Files\Norton AntiVirus\NavShExt.dll
    0x00F70000 - 0x00F89000 C:\WINDOWS\System32\ccTrust.dll
    0x55900000 - 0x55961000 C:\WINDOWS\System32\MSVCP60.dll
    0x76B20000 - 0x76B35000 C:\WINDOWS\System32\ATL.DLL
    0x011D0000 - 0x013D1000 C:\WINDOWS\System32\msi.dll
    0x75E90000 - 0x75F37000 C:\WINDOWS\System32\SXS.DLL
    0x760F0000 - 0x76169000 C:\WINDOWS\system32\urlmon.dll
    0x76170000 - 0x761F8000 C:\WINDOWS\System32\shdoclc.dll
    0x74770000 - 0x747FF000 C:\WINDOWS\System32\mlang.dll
    0x74810000 - 0x74AC7000 C:\WINDOWS\System32\mshtml.dll
    0x746F0000 - 0x74716000 C:\WINDOWS\System32\msimtf.dll
    0x74720000 - 0x74764000 C:\WINDOWS\System32\MSCTF.dll
    0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.DLL
    0x01A80000 - 0x01A9B000 C:\Program Files\Common Files\Symantec Shared\Script Blocking\scrauth.dll
    0x01BA0000 - 0x01BBE000 C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrBlock.dll
    0x76C30000 - 0x76C5B000 C:\WINDOWS\System32\wintrust.dll
    0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\IMAGEHLP.dll
    0x0FFD0000 - 0x0FFF3000 C:\WINDOWS\System32\rsaenh.dll
    0x75A70000 - 0x75B15000 C:\WINDOWS\system32\userenv.dll
    0x71C20000 - 0x71C6E000 C:\WINDOWS\System32\netapi32.dll
    0x73D50000 - 0x73D60000 C:\WINDOWS\System32\cryptnet.dll
    0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
    0x6B700000 - 0x6B790000 c:\windows\system32\jscript.dll
    0x6D440000 - 0x6D450000 C:\Program Files\Java\j2re1.4.2_03\bin\npjpi142_03.dll
    0x5EDD0000 - 0x5EDEA000 C:\WINDOWS\System32\OLEPRO32.DLL
    0x6D310000 - 0x6D327000 C:\Program Files\Java\j2re1.4.2_03\bin\jpiexp32.dll
    0x71AD0000 - 0x71AD8000 C:\WINDOWS\System32\wsock32.dll
    0x71AB0000 - 0x71AC5000 C:\WINDOWS\System32\WS2_32.dll
    0x71AA0000 - 0x71AA8000 C:\WINDOWS\System32\WS2HELP.dll
    0x71A50000 - 0x71A8B000 C:\WINDOWS\System32\mswsock.dll
    0x76F20000 - 0x76F45000 C:\WINDOWS\System32\DNSAPI.dll
    0x76D60000 - 0x76D77000 C:\WINDOWS\System32\iphlpapi.dll
    0x76FB0000 - 0x76FB7000 C:\WINDOWS\System32\winrnr.dll
    0x6D380000 - 0x6D398000 C:\Program Files\Java\j2re1.4.2_03\bin\jpishare.dll
    0x08000000 - 0x08138000 C:\PROGRA~1\Java\j2re1.4.2_03\bin\client\jvm.dll
    0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
    0x02540000 - 0x02547000 C:\PROGRA~1\Java\j2re1.4.2_03\bin\hpi.dll
    0x02560000 - 0x0256E000 C:\PROGRA~1\Java\j2re1.4.2_03\bin\verify.dll
    0x02570000 - 0x02589000 C:\PROGRA~1\Java\j2re1.4.2_03\bin\java.dll
    0x02590000 - 0x0259D000 C:\PROGRA~1\Java\j2re1.4.2_03\bin\zip.dll
    0x04FE0000 - 0x050EF000 C:\Program Files\Java\j2re1.4.2_03\bin\awt.dll
    0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
    0x05100000 - 0x05150000 C:\Program Files\Java\j2re1.4.2_03\bin\fontmanager.dll
    0x51000000 - 0x5104D000 C:\WINDOWS\System32\ddraw.dll
    0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
    0x5C000000 - 0x5C0C8000 C:\WINDOWS\System32\D3DIM700.DLL
    0x6D2F0000 - 0x6D304000 C:\Program Files\Java\j2re1.4.2_03\bin\jpicom32.dll
    0x746C0000 - 0x746E7000 C:\WINDOWS\System32\MSLS31.DLL
    0x07F50000 - 0x07F72000 C:\Program Files\Java\j2re1.4.2_03\bin\dcpr.dll
    0x07F80000 - 0x07F8F000 C:\Program Files\Java\j2re1.4.2_03\bin\net.dll
    0x76FC0000 - 0x76FC5000 C:\WINDOWS\System32\rasadhlp.dll
    0x74CB0000 - 0x74D1F000 C:\WINDOWS\System32\mshtmled.dll
    0x71B20000 - 0x71B31000 C:\WINDOWS\system32\MPR.dll
    0x75F60000 - 0x75F66000 C:\WINDOWS\System32\drprov.dll
    0x71C10000 - 0x71C1D000 C:\WINDOWS\System32\ntlanman.dll
    0x71CD0000 - 0x71CE6000 C:\WINDOWS\System32\NETUI0.dll
    0x71C90000 - 0x71CCC000 C:\WINDOWS\System32\NETUI1.dll
    0x71C80000 - 0x71C86000 C:\WINDOWS\System32\NETRAP.dll
    0x71BF0000 - 0x71C01000 C:\WINDOWS\System32\SAMLIB.dll
    0x75F70000 - 0x75F79000 C:\WINDOWS\System32\davclnt.dll
    0x75970000 - 0x75A61000 C:\WINDOWS\System32\MSGINA.dll
    0x76360000 - 0x7636F000 C:\WINDOWS\System32\WINSTA.dll
    0x01EC0000 - 0x01EF2000 C:\WINDOWS\System32\ODBC32.dll
    0x763B0000 - 0x763F5000 C:\WINDOWS\system32\comdlg32.dll
    0x0C250000 - 0x0C266000 C:\WINDOWS\System32\odbcint.dll
    0x72D20000 - 0x72D29000 C:\WINDOWS\System32\wdmaud.drv
    0x72D10000 - 0x72D18000 C:\WINDOWS\System32\msacm32.drv
    0x77BE0000 - 0x77BF4000 C:\WINDOWS\System32\MSACM32.dll
    0x77BD0000 - 0x77BD7000 C:\WINDOWS\System32\midimap.dll
    0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
    0x76EE0000 - 0x76F17000 C:\WINDOWS\System32\RASAPI32.DLL
    0x76E90000 - 0x76EA1000 C:\WINDOWS\System32\rasman.dll
    0x76EB0000 - 0x76EDB000 C:\WINDOWS\System32\TAPI32.dll
    0x76E80000 - 0x76E8D000 C:\WINDOWS\System32\rtutils.dll
    0x722B0000 - 0x722B5000 C:\WINDOWS\System32\sensapi.dll
    0x5E0C0000 - 0x5E0CC000 C:\WINDOWS\System32\pstorec.dll
    0x66880000 - 0x6688A000 C:\WINDOWS\System32\imgutil.dll
    0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 1152K, used 714K [0x10010000, 0x10140000, 0x10770000)
    eden space 1088K, 65% used [0x10010000, 0x100c28b0, 0x10120000)
    from space 64K, 0% used [0x10120000, 0x10120000, 0x10130000)
    to space 64K, 0% used [0x10130000, 0x10130000, 0x10140000)
    tenured generation total 12548K, used 4273K [0x10770000, 0x113b1000, 0x16010000)
    the space 12548K, 34% used [0x10770000, 0x10b9c448, 0x10b9c600, 0x113b1000)
    compacting perm gen total 6912K, used 6686K [0x16010000, 0x166d0000, 0x1a010000)
    the space 6912K, 96% used [0x16010000, 0x166978f0, 0x16697a00, 0x166d0000)
    Local Time = Mon Feb 16 16:06:20 2004
    Elapsed Time = 310
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)

    Did you ever get this figured out? If not, try catching ThreadDeath from one
    of your threads and print the stack trace. I am trying to convince Sun that another bug that they closed as "user error" is actually a jvm bug.
    You can actually make a simple test case- it is one page of java code that
    crashes browser on first or second refresh when you have two instances on
    a page. See:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5054115
    if you simply lauch a thread, sleep for a while and call ThreadGroup.stop() you can produce a failure which I think replicates the jvm failure mode. Please let me know what you find or found. Thanks.

  • Force Specific Screen Saver - %windir%\system32\rundll32.exe user32.dll,LockWorkStation

    I am trying to force a specific screen saver using the following in Group Policy.
    Enable screen saver - Enabled
    Force specific screen saver - %windir%\system32\rundll32.exe user32.dll,LockWorkStation
    Password protect the screen saver - Enabled
    Screen saver timeout - 600
    On some computers it works, others it does not and still others show the bubbles screen saver.  I have been unable to figure out why it's not working 100%.  It's as if the local screen saver settings are overriding the domain group policy settings.

    Hi,
    Force specific screen saver - %windir%\system32\rundll32.exe user32.dll,LockWorkStation
    What's the path of this?
    The correct path should be: type the name of the file that contains the screen saver, including the
    .scr file name extension. If the screen saver file is not in the %Systemroot%\System32 directory, type the fully qualified path to the file.
    Local setting was unable to overriding the domain group policy. It might be the group policy was not applied to client. We could use gpresult command on client side to confirm:
    Run "gpresult /h gpreport.html" command to saves the report in HTML format with the file name "gpreport.html" at C:\Windows\System32\ directory.
    Open this file to check if this group policy was applied successfully.
    Also check it on client which worked fine to compare this group policy setting.
    Karen Hu
    TechNet Community Support

  • Getting Data From Running EXE

    Hello,
    First off, I am an amateur programmer. I have been programming for a few years now, but because I'm a meteorology major, and not a CSCI major, I haven't had too much time. Tying in the fields of meteorology and computer science, I have made a few programs about the weather.
    There is a radar program, GRLevelX, which displays radar information, much like on television. With hi-tech abilities with it. One of the capabilities is placefiles, which can be added to the program. So what I am trying to do is make a placefile which shows an aerial map from Google Maps, which can be placed under the radar. When I get down to it, I have the code to grab the map and put it int he placefile format, however, the only thing I cant get is the coordinates of the visible window of the program.
    Is there any way I can tap into a running EXE, get variables being used by that program, and have them returned to the Java file I have created so far? I have spoke wiht one other person about this and he said I would need to call Win32 API and get the window handler. Again, I'm very new to this, so that si kind of confusing. But I try to challenge myself with these programs, trying to learn the language a bit more. I have searched through many forums trying to look how to do this, and I can't seem to find anything. Any ideas? Thank you very much! I appreciate any help anyone can provide.
    Chris

    Thanks for the quick replies. After some looking at the program and the first response, it looks like Java isn't the way to go. At least I have a good basis on how to do the main stuff, in java, just have to see if I can hand that off to someone familiar with the program to write in a different language. As for the second reply, I can see what you mean, not wanting to go into any secondary program. Especially if I don't know how its written and whatnot. There are a number of other placefiles, which do go into this program and grab data such as coordinates, and return their values. I will have to see what language they use (Visual Basic, i think?). Thanks again for the replies!
    Chris

  • Trying to start itunes - message appears "APSDAEMON.EXE MSVCR80.DLL is missing.  Then another box indicates "Error 7 (Windows error 126).  Itunes will not start.  Can someone tell me what the problem is and how to fix?

    when I tried to update to the new version of Itunes - message box appears "APSDAEMON.EXE MSVCR80.DLL is missing".  Then another box indicates "Error 7 (Windows error 126)".  Itunes will not start.  Can someone tell me what the problem is and how to fix?

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • How to run .exe files on macbook pro

    Just bought my first macbook pro the other day.  I absolutely love it.  Much better than the windows boxes.  I wanted to run some '.exe' files on my new laptop but was not successful finding anything on the market to use without purchasing a full OS version of Windows.  Is there any software out there that I can use to run '.exe' files without purchasing a full Windows OS to do so.  I know about parallels for MAC but that seems to require purchasing Windows OS?  Any help is greatly appreciately.
    Here are the specs on my Macbook Pro.
    2.2GHz quad core i7
    4GB RAM
    500GB HDD

    Some Windows software -- not all, by a long shot -- will run on a Mac without installing Windows, with the aid of the CrossOver Mac emulator:
    http://www.codeweavers.com/products/cxmac/
    Games generally won't. For those, you need Windows installed through Boot Camp so you can run Windows natively.

Maybe you are looking for

  • P45d3 platinum with geil PC3-12800 1600MHz 7-7-7 DC Kit

    Hi to all in September it will arrive to me p45d3 platinum with the geils PC3-12800 1600MHz 7-7-7 DC Kit however reading in the forum there are also problems with memories 1333 mhz and it needs to plan her to 1066 mhz. Will this problem be resolved?

  • Error in converting character string to smalldatetime data type

    I've installed SQL Server 2000 on my new laptop and Crystal Report XI, out of sudden, the Crystal Report to certain view can't run and I got the following error: Details: 22007 [Microsoft][ODBC SQL Server Driver][SQL SERVER]Syntax Error cnverting cha

  • Inventory return to vendor impact on finance

    Can anyone tell me that how does activating OMBZ (GR returns despite invoice) impact finance. Is it recommended to flag it or not. If we have to activate it, what steps need to taken in order to keep the finance in good shape. Please give detailed ex

  • Pass word for Apple ID not accepted in Newstand?

    Help! I changed my password for Apple ID and had no problem using it to purchase items in ITUNES. However when attempting to puchase magazines through APPs and newstand it is not accepting the same password. States not regonised for the same user nam

  • HT3386 How do I organize documents  in pages?

    Where do I find info on organizing my documents in Pages.... putting them in folders, etc.?  I am used to Word and I am baffled.