Running DS-5 armcc compiled code (PIC) under Windows EC 2013

Hi All,
i just wanted to know if it is generally (officially) supported to run code that is compiled via the armcc (5.03) from DS-5 under Windows Embedded Compact 2013. Or if this is discouraged (reasons?).
The problem i have:
The bootloader contains some code that must be run during Windows EC Startup. So this code is loaded from the Flash, copied to RAM (reserved and commited via VirtualAlloc and marked as executable) and then the functions are called via FunctionPointers.
The code is compiled and linked as position independent and the stack base register is set accordingly before any function is called via pointer and reset when it returns.
This works in about 9 out of 10 tests without problems. But sometimes i get all sort of exceptions (Data Abort, Prefetch Abort, Unknown Instruction, ...). Most (if not all) of the time they occur when the position independent code runs on one of the two
cores.
The code runs on an i.MX6DQ (dual).
If i only enable one core, i can't reproduce the problem (i assume that multicore-handling and multithreading in WinEC 2013 Update 10 is really well tested and works without problems, so this can't be the real reason).
I've thoroughly checked and debugged the code, i'm really sure there is no illegal access or other problem with the code itself.
Could it be a problem to call code compiled via DS-5 armcc? I've compared assembler code that Visual Studio/Platform Builder generates with code that DS-5 generates (but i'm no assembler expert). I can't see any obvious special code that is added by Visual
Studio/Platform Builder (i.e. that functions need) that is not there in the DS-5 code.
Best Regards
Sebastian

So I think you could be able to image some code for ROM from another compiler and without knowledge of Windows CE. However, if the code will be called from Windows CE, this becomes more difficult requiring very careful isolation from the
MMU state, processor state, kernel/user mode, etc. Code that works great when called from the bootloader might not work at all from Windows CE itself. The main problem with mixing code from different compilers is the object file format and conventions for
entry and public names. Very unlikely that you'd be able to "link" code from any other compiler with PB-compiled code.
You might think about the x86 image which can easily call BIOS from the bootloader but which can't even begin to call BIOS from CE itself. The problem isn't the compiler (which is different), but the operating environment differences and assumptions.
Paul T.

Similar Messages

  • Running  javafx on a 64 bit machine under Windows 7

    I want to run javafx on a 64 bit machine under Windows 7. I receive the following log when running simple "Hello World" program:
    init:
    deps-jar:
    compile:
    jar:
    standard-run:
    Error occurred during initialization of VM
    Unable to load native library: Can't load AMD 64-bit .dll on a IA 32-bit platform
    BUILD FAILED (total time: 0 seconds)
    Looking at sys requirements for javafx, I see that only 32 bit windows is supported. I did, though, succeed in doing a (64 Bit) build within netbeans after added a JAVA_HOME environment variable to point to my JDK directory (from Win 64 bit download).
    Please can anyone explain what I need to do so that (preferably) a javafx application runs 64 bit or if no choice how I can direct a 32 bit run without effecting most of the development tools that do support 64 bit?
    By the way, when running from command line:
    +"D:\Program Files\NetBeans 6.8\javafx2\javafx-sdk\bin\javafx.exe" -version+
    I receive same error as above:
    Error occurred during initialization of VM
    Unable to load native library: Can't load AMD 64-bit .dll on a IA 32-bit platform
    David Ziants

    I also tried adding to my system environment path variable: %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;and this did not help.
    My webstart properties are:
    $label=Web Start
    execution.target=jnlp
    javafx.profile=desktopbut I think the matter is more basic because I also receive the same error from the command line:
    "D:\Program Files\NetBeans 6.8\javafx2\javafx-sdk\bin\javafx.exe" -versionas I already mentioned.

  • Running a unix java compiled code in windows

    hi'
    I've a program written in java ( linux) , but I need to run in window ( simulatioln), but in the program there were some Makefile needed to run the program ( using Make command in linux )
    now, I need something compatabe to the makefiles in windows to handle the running ,
    would you help me with this

    You're trying to BUILD the thing under Windows using makefiles. Makes me think you're using gcj.
    That won't do.
    Once you have it compiled, it should RUN fine on Windows unless you've used Linux specific stuff (which seems likely to me if you're using a platform specific abomination like gcj).

  • Executable Code Speed Vs. Developmen​t Environmen​t Code Speed under windows 7

    Hi,
    I implemented a "closed loop" type controller in Labview 2012 running on windows 7 to control a motor speed. In my code, I have a main loop that first measures data using a PCI daq card, and then processes the data, and then output data to another PCI daq card. The main loop is set to run at 100Hz. So, 100 times a second I read data, then process the data, then output new data. I am using the Input daq card timing to sync the main loop to 100Hz. When I run this code in the Labview development environment, it seems to run just fine and is able to keep up with the 100hz loop time with no apparent lag. but when I create an executable and run it (on the same machine), it initially appears to run at 100Hz but soon after that it starts to slow down to about 10hz or less. This is causing issues with my motor control. I set the priority of the application under windows task manager to real time (which is the highest option available) to force Windows to let it run as fast as possible but it didn't seem to help much. I compared using a while loop and a timed while loop and found that the while loop ran faster when creating the executable. Any thoughts on what to do to make the executable run faster and why does this happen?
    Thanks

    Can you post the code?
    A wild guess is that there's some array growing wildly causing memory issues, and if you let the program run for a while longer it'll crash with out of memory error.
    Is the program only supposed to feed data from one card to the other?
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Will an HD 5870 run on a Mac Pro 1,1 under Windows?

    Hey Guys,
    Done a search for this but can't find any information. I'm looking into getting a little more life out of my Mac Pro (Quad 2.66, 13Gb RAM, HD 3870) by being able to use it for PC gaming, and was wondering whether any of the latest video cards (like the HD 5870) will still run on the machine under a Windows partition (probably Vista 64-bit, but maybe Windows 7 if I upgrade to that).
    Any help would be much appreciated.
    Cheers

    The question is what do you do instead of use the 3870, as you don't have 3 aux connectors to work with (and one 16x slot, while you probably can get along fine with 4x or 8x for the 3870).
    I would not even give Vista the time of day. But, Windows 7 Pro 64-bit is a 'must' to use more than 2GB RAM; to use both processors. Else, it really doesn't work as well, and Vista isn't worth the effort.
    So once you solve the EFI64 boot issue that Windows and Apple now use for 64-bit, you'll be fine.
    Then again, maybe its time to cut loses, some people would be happy to be able to run Tiger, and are willing to pay $1k for a system like yours.

  • Running FF as regular (non-admin ) user under Windows. FF 34 window moves down unexpectidly when adding a tab or resizing the window. Was OK w/ FF 17

    I resize FF window, or add/remove a tab. The entire window moves down.

    Opening some pages, such as Oracle eGroupware calendar causes the window to move down several steps as well.
    W2008 R2 + Remote Desktop Service.

  • Can I choose to run the cloud server role instance on a windows server 2013 core?

    Since the cloud service allow me to choose the OS family on the role instance,  is there a option i can choose windows server 2012 core?
    My think is use the core will save some resources and good for the performance.
    If there is no such an option, then, If i remote to that role instance and switch the os to the core, what is it going to happen?

    Hey,
    There is no Core installation in the Gallery of Azure.
    You can install the server with the GUI interface and then you can remove the GUI from the powershell with these commands so it will be basically core installation:
    Get-WindowsFeature *gui* | Uninstall-WindowsFeature –Restart
    Good Luck,
    Ido

  • Image.getScaledInstance() does not always work under Windows Vista

    Hi:
    I've run into some intermittent image scaling problems under Windows Vista (minus Aero effects) that I never experienced with the same program, same image(s), running same Java version under XP. The images I'm using are all JPEGs, and the problem appears to affect approx 1 out of 3 grayscale images (no color ones so far) w/o respect to size (ie: small ones can be problems while larger ones will work). Java -version shows 1.6.0_02-b06. I was wondering if anyone else out there has seen this, or can point out what I may be doing wrong. Sample code to duplicate follows.
    Tx,
    Jallewel
    // ===================================================================
    // Image Scaling Problem, Description & Demo Program (minus the image):
    //   Environment:  SDK/JRE: Java 1.6.0_02-b06, running under
    //        Windows Vista Home Premium (32-Bit) on Dell Inspiron w/3GB RAM
    //   ************* Symptoms ******************
    //   Problem occurs when invoking image.getScaledInstance().
    //   Problem shows up under Windows Vista, configured w/Windows Classic look
    //       & feel - that is, with Aero effects turned OFF.
    //   Problem does NOT show up under Windows XP on Dell Dimension 4500.
    //   Test across computers used same SDK/JRE, Java program, and Image.
    //   Problem ONLY appears in grayscale JPEG images, and only 1 out of 3 of those.
    //   (I can provide a problem image)
    // Results Compiling & Running This Program:
    //   C:\Users\~\VistaProblem>javac VistaProblem.java
    //   C:\Users\~\VistaProblem>java VistaProblem
    //      Uncaught error fetching image:
    //      java.lang.ClassCastException: [I cannot be cast to [B
    //        at java.awt.image.ColorModel.getAlpha(Unknown Source)
    //        at java.awt.image.ColorModel.getRGB(Unknown Source)
    //        at sun.awt.image.ImageRepresentation.convertToRGB(Unknown Source)
    //        at sun.awt.image.ImageRepresentation.setPixels(Unknown Source)
    //        at java.awt.image.AreaAveragingScaleFilter.accumPixels(Unknown Source)
    //        at java.awt.image.AreaAveragingScaleFilter.setPixels(Unknown Source)
    //        at sun.awt.image.ImageDecoder.setPixels(Unknown Source)
    //        at sun.awt.image.JPEGImageDecoder.sendPixels(Unknown Source)
    //        at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
    //        at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
    //        at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
    //        at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
    //        at sun.awt.image.ImageFetcher.run(Unknown Source)
    import java.*;
    import java.awt.*;
    import java.io.*;
    import javax.imageio.*;
    // class VistaProblem
    public class VistaProblem extends Frame {
       private static ScrollPane sp = new ScrollPane(ScrollPane.SCROLLBARS_AS_NEEDED);
       public static ImageComponent ic;
       // Constructor
       public VistaProblem() {
          super("VistaProblem");
          add(sp, BorderLayout.CENTER);
          this.setSize(700, 520);
          setVisible(true);
         String fPathName = "./ProblemImage.jpg";
          ic = new ImageComponent(getToolkit().getImage(fPathName));
          sp.add(ic);
          sp.validate();
          ic.Scale(220, 200);
       // class ImageComponent
       class ImageComponent extends Component {
          private Image image;
          // Constructor
          ImageComponent(Image img) {
             this.image = img;
          // paint
          public void paint(Graphics g) {
             g.setColor(getBackground());
             g.drawImage(image, 10, 10, this);
             g.dispose();
          // Scale
          public void Scale (int width, int height) {
             // ***** PROBLEM LINE HERE; COMMENT OUT AND PROGRAM WORKS *****
             this.image = this.image.getScaledInstance(width, height, Image.SCALE_SMOOTH);
             repaint();
       // Main Entry Point
       public static void main(String args[]) {
          Frame f = new VistaProblem();
    } // end VistaProblem

    That does indeed appear to be a bug. I looks like it's having problems with the alpha value in the color model, so a possible workaround would be to change the color model the image uses before scaling. This may entail creating a new BufferedImage and drawing the old image into it.

  • Error when run the compiled code

    I have code below,
    import java.sql.*;
    public class testmysql{
         public static void main(String args[]){
              Connection conn = null;
    try{
    String userName = "root";
    String password = "password";
    String url = "jdbc:mysql://localhost:3307/ectol_db";
    Class.forName ("com.mysql.jdbc.Driver").newInstance ();
    conn = DriverManager.getConnection (url, userName, password);
    System.out.println ("Database connection established");
    }catch (Exception e) {
              e.printStackTrace();
    System.err.println ("Cannot connect to database server");
    }finally{
    if (conn != null){
    try{
    conn.close ();
    System.out.println ("Database connection terminated");
    }catch (Exception e) {
         e.printStackTrace();
         /* ignore close errors */
    and i have the mysql-connector-5.0.6.jar
    I able to compile code with javac testmysql.java command
    However, when i try to run the code with java testmysql command, it prompt me error below
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at testmysql.main(testmysql.java:11)
    Cannot connect to database server
    Anyone can help?

    ccwoon80 wrote:
    Actually, the jar and class file was in the same path...
    Thus, what the correct command i need to run the my code?Then your classpath would be .;mysql.jar (or whatever the heck the name of the connector was).
    So java -cp .;mysql.jar foo.bar.MyClass

  • Compiled Code Error Running Excel

    Writing to Excel works fine with source code but gives this error with compiled code:
    Open VI Reference in Dispose Report.vi->Write_to_Excel.vi->Golden_Thread_V2.vi<APPEND>
    VI Path: <b>C:\Golden Thread\Golden Thread V2.2.exe\Excel_Quit.vi</b>
    Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.
    Any thoughts???
    Thanks.

    Hi Steve,
    if you use for example the "Append Table to Report.vi", then you have in the "Excel" case a dynamic loaded vi, also in the "New Report.vi". See the picture.
    See this KB: http://digital.ni.com/public.nsf/allkb/C38CE3F30542D65B86256F0E00740DD8
    Mike
    Message Edited by MikeS81 on 06-18-2008 03:42 PM
    Attachments:
    Unbenannt1.PNG ‏20 KB

  • Java.lang.NoClassDefFoundError: com/sun/j3d/utils/applet/MainFrame         at HelloUniverse.main(Compiled Code)

    I'm getting this error
    java.lang.NoClassDefFoundError: com/sun/j3d/utils/applet/MainFrame
    at HelloUniverse.main(Compiled Code)
    I receive this error when I try to run the demos that are in the /usr/java1.1/demo folder.
    I followed the directions to install java3d. I installed the java3d binary in the top part of
    the JDK directory then ran the binary. Everything installed o.k., but I cannot run
    any of the demos. I also have J2SE 1.2.2_05a, JDK 1.1.8_10, and.
    JRE 1.1.8_10 installed. My operating system is SunOS 5.6, Solaris 2.6. My workstation
    is an Ultra 5 with 374mb ram.
    Here is part of the install intructions.
    Place the java3d1_2-solsparc.bin file into the top level directory
    of the JDK you wish to install Java 3D into. Execute the
    java3d1_2-solsparc.bin file (ex: sh java3d1_2-solsparc.bin).
    After installation, you may remove this file.
    The Java 3D(TM) SDK includes several demo programs that can
    verify correct installation. Assuming your Java 2 SDK is installed
    at ~/Solaris_JDK_1.2.2_05, try the following:
    cd ~/Solaris_JDK_1.2.2_05/demo/java3d/HelloUniverse
    java HelloUniverse
    Note: Many more demos are available under the demo/java3d/
    directory. Some of the demos require a maximum memory
    pool larger than the default in java. To increase the
    maximum memory pool to 64 meg, add the following command
    line options to java or appletviewer:
    java: -mx64m
    appletviewer: -J-mx64m
    You do not need to include the J3D jar files in your CLASSPATH,
    nor do you need to include the J3D shared libraries in your PATH.
    You should include "." in your CLASSPATH or ensure that CLASSPATH
    is not set.
    I'm not sure how to set set/unset the CLASSPATH and I'm not sure if I was supposed to
    place the binary file in the /usr/java1.1 or /usr/java or /usr/java1.2 directory.
    Can anyone help?
    tomjones

    -- If jar size isn't an issue, I recommend using thick "weblogic.jar" instead of the thin "wl*.jar" jars. The thick jar is a better performer, is used by more customers, and has more features. Otherwise:
              -- It might help to use the thin client jars from a later service pack - several service packs have been released since SP2, or you might even try using jars from a recent 9.2 SP or even 10.0.
              -- Also, check to see if the 1.4.2 JVM is up-to-date and/or try switching from the Sun JVM to the JRockit JVM (or vice-versa).
              -- Finally, it might help to check if your XP environment matches your Linux environment (JVM command-line, classpath, etc).
              -- Also: The IIOP newsgroup may also have some advice. The thin client uses the IIOP protocol even when a "t3:" URL is specified by the application.
              Tom

  • Compile MatrixX Autocode under Linux

    Hi, I try to compile my autocoded code under Linux and I got problem at the compilation and at the link.
    Everything is working fine under windows....
    First Problem. When I switch to linux I got a error at the compilation :
         error: ‘Matrix_Inverse’ was not declared in this scope
    Matrix_Inverse is part of sa_matrix.c that was compile before without any problem. Any Idea ? You can find the makefile in attachement.
    Second error is during the link. If I put the Matrix_Inverse callout, I able to compile. When it's time to link everything, I got those error:
           TEST_CONTROLPC.o: In function `SCHEDULER':TEST_CONTROLPC.c.text+0x1fb41): undefined reference to `External_Input'
            :TEST_CONTROLPC.c.text+0x1fb91): undefined reference to `External_Output'
            :TEST_CONTROLPC.c.text+0x1fceb): undefined reference to `Error'
            :TEST_CONTROLPC.c.text+0x1fe0f): undefined reference to `Error'
            TEST_CONTROLPC.o: In function `main':TEST_CONTROLPC.c.text+0x218eb): undefined reference to `Implementation_Initialize'
            :TEST_CONTROLPC.c.text+0x218f0): undefined reference to `Background'
            :TEST_CONTROLPC.c.text+0x218fa): undefined reference to `Implementation_Terminate'
            NGC-sa_utils_bin.o: In function `Background()':NGC-sa_utils_bin.c.text+0x313): undefined reference to `SCHEDULER
    It's look that it's not able to find function declare in the NGC-sa_utils_bin.c (little adaptation of sa_utils.c). Any idea on that ?
    Thanks a lot
    Attachments:
    makefile.txt ‏2 KB

    All right, let me resume :
    We have successfully AutoCode a
    MATRIXx model into C code (using default AutoCode template) and compile it on a
    windows based computer with our own makefile. On the windows based computer, we
    have define –DMSWIN32 in the makefile in order to compile the model.
    The result from the AutoCoded
    version and the result from the MATRIXx model are the same (diff of
    x10-6). Now we want to move the AutocCoded model on a RT-Linux based
    computer.
    Is
    there any other define we should include in the
    makefile?
    Target computer: RTAI_Linux on
    a FEDORA Linux
     And Now to solve the first problem :
            NGC-sa_utils_bin.o: In function
    `Background()':NGC-sa_utils_bin.c .text+0x313): undefined
    reference to `SCHEDULERTo bypass the problem, we have
    made a small modification in order to be able to compile the code. We have
    remove the declaration of SCHEDULER() in the procedure Background in the
    sa_utils.h and sa_utils.c file.
     sa_utils.c
    //extern void SCHEDULER
     sa_utils.h
    //EXTERN_FUNC (void SCHEDULER, (
     We have then created the header
    file (same name as the model) to declare this SCHEDULER
    procedure:
     EXTERN_FUNC (void SCHEDULER, (
     We then run the code and write
    outputs in binary to a file. We read them back on a windows based computer to
    conclude that the results are not the same of the MATRIXx
    model.What do you think ?
    Charley

  • Troublesho​oting compiled code?

    I am using Fieldpont modules to control some lab tests.  Since we have a few separate tests, we've decided to use compiled code to cut down on Labview costs. 
    The issue I'm having is when I have an error in the compiled code on a new install.  Is there any way to see where in the code the error is occurring?  Maybe some sort of test run mode or something? I know the code interacts with the windows registry as well as a few files on the hard drive. I think this is where the problem is. Unfortunately, I did not write the code, so I'm not certain where the problem could be.  I have always been able to easily troubleshoot issues with code when running the full Labview software, but with the compiled code, you can't see the block diagram.
    Any help would be greatly appreciated.
    Tony

    Hi Scubadude,
    I have included a link to a help file that walks through how to debug applications on remote systems.
    Debugging Applications and Shared Libraries:
    http://zone.ni.com/reference/en-XX/help/371361J-01​/lvhowto/debug_apps_dlls/
    Wear
    National Instruments
    Product Support Engineer

  • Error during distribution for compiled code generation-Reply

    Hi,
    Looking at your error messages, it looks as though your build is failing during the code generation phase of an autocompilation. To determine why the code generator crashed, either look in the $FORTE_ROOT/log/forte_ex*.log files or don't use autocompilation and use fcompile.
    There are many reasons why the code generator could crash. Some of the things I've come across are running out of memory and trying to find invalid classes.
    If its the invalid class problem you'll find a message like:
    Generating code for partition BLTCustomWindow_cl0_Part1.
    ERROR: Exiting due to following exception:
    SYSTEM ERROR: Client partition FTCompile_cl0_Client was terminated by escaped
    exception. See the remainder of the error stack for more information.
    Class: qqsp_ResourceException
    Error #: [1001, 3]
    Detected at: qqrt_ForteExecAgent::LoadPartition at 1
    Error Time: Tue Aug 18 17:52:44
    Exception occurred (locally) on partition "Forte_Executor", (partitionId =
    9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1, taskId =
    [9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1.6]) in application
    "FTCompile_cl0", pid 28331 on node stardev in environment <unknown>.
    FATAL ERROR: Invalid class ProductBMServices.ProductSecurityMgrProxy
    (0x4ecd,0x19a)
    Class: qqsp_ImplementationException
    Detected at: qqcg_TRclass::SetClass at 2
    Last TOOL statement: method ForteCompiler.ProcessPGF
    Error Time: Tue Aug 18 17:52:44
    Exception occurred (locally) on partition "Forte_Executor",
    (partitionId = 9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1, taskId =
    [9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1.6]) in application
    "FTCompile_cl0", pid 28331 on node stardev in environment <unknown>.
    The solution for this instance is to clean up the invalid classes using the c4tstdrv utility.
    c4tstdrv > setrepos star8
    c4tstdrv > setwork dmcompiledbuild
    c4tstdrv > open
    Type Service Flags Level
    err sh * 255
    trc rp 1 4
    c4tstdrv > findproj productbmservices
    c4tstdrv > cleanuprtclasses
    Removing extraneous RTclass ProductShootingLocationMgrProxy
    Removing extraneous RTclass PRTerritoryBaseMgrProxy
    Removing extraneous RTclass PRTerritoryMgrProxy
    Removing extraneous RTclass TalentBaseMgrProxy
    Removing extraneous RTclass TalentTypeMgrProxy
    Removing extraneous RTclass TitleTypeBaseMgrProxy
    Removing extraneous RTclass TitleTypeMgrProxy
    Removing extraneous RTclass ProductSecurityBaseClass
    Removing extraneous RTclass ProductSecurityBaseQuery
    Removing extraneous RTclass ProductSecurityQuery
    Removing extraneous RTclass ProductSecurityMgrProxy
    c4tstdrv > commit
    c4tstdrv > exit
    Integrate the changes to the workspace, start the build again and this should have cured the problem.
    However, its hard to know what the cause of your problem is without seeing the output in the log files.
    Good luck.
    Mark Carruthers
    20th Century Fox
    "Forte Consultants" <[email protected]> 01/22/99 08:35am >>>
    Hi,
    I'm doing application distribution for my application using a fscript
    script and am forcing compilation on 2 of my partitions.
    This I have been doing from quite sometime successfully. Recently I
    developed a new service and plugged it into my application for
    deployment.
    I'm successfully able to distribute & deploy the interpreted code. But
    I'm getting a long list of system errors when I try doing distribution
    for compiled code. And I see only one of the .exe generated instead of
    two because of which I'm unable to go ahead with installaion. I would
    appreciate if anybody let me know why this's happening ?. The following
    is the main chunk of this error list.
    Thanks in advance.
    --Anand Ramaswamy
    SYSTEM ERROR: Cannot resolve the distributed reference for an object of
    class
    (qqlo_Object) named (<Unknown>) for the reasons below.
    Class: qqsp_DistAccessException
    Error #: [601, 144]
    Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 10
    Error Time: Fri Jan 22 10:44:22
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: Can not initially communicate with the object named
    (Unnamed),
    which is supposed to be in partition
    (32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1).
    Class: qqsp_DistAccessException
    Error #: [601, 140]
    Detected at: qqdo_ProxyMgr::CheckAccess at 1
    Error Time: Fri Jan 22 10:44:22
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: Attempt to send to unknown destination partition
    (32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1).
    Class: qqsp_DistAccessException
    Error #: [601, 102]
    Detected at: qqdo_PartitionMgr::SendMsg at 1
    Error Time: Fri Jan 22 10:44:22
    Distributed method called: qqdo_InternalMessage.<Message> (object
    name
    Unnamed) from partition "CodeGenerationSvc_cl0_Part1-router",
    (partitionId
    = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.2]) in application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: Partition (32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1)
    no
    longer exists. The process associated with the partition probably
    terminated.
    Class: qqsp_DistAccessException
    Detected at: qqdo_PartitionMgr::CheckStarted at 1
    Error Time: Fri Jan 22 10:44:22
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: This method invocation is being retried because the
    failures
    shown below and the fact that the dialog duration is MESSAGE. This is
    try #2.
    Class: qqsp_DistAccessException
    Error #: [601, 54]
    Detected at: qqdo_Message::Failed at 1
    Error Time: Fri Jan 22 10:44:19
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: The load balanced router is disabled or has no members.
    This
    can happen if all of the members terminated or failed.
    Class: qqsp_DistAccessException
    Error #: [601, 161]
    Detected at: qqdo_LbRouter::Route at 1
    Error Time: Fri Jan 22 10:44:19
    Distributed method called: GenerationMgrProxy.GeneratePartitionCode
    (object name
    site/codegenerationsvc_cl0/codegenerationsvc_cl0-codegensvc)
    from partition "Fscript_cl9_Client", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614.2]) in application
    "fscript",
    pid 4b81 on node MOOSUP in environment IGTSDENV
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    SYSTEM ERROR: This method invocation is being retried because the
    failures
    shown below and the fact that the dialog duration is MESSAGE. This is
    try #1.
    Class: qqsp_DistAccessException
    Error #: [601, 54]
    Detected at: qqdo_Message::Failed at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
    taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
    "fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
    SYSTEM ERROR: Access to a load balanced router member (which is a
    service
    object) failed for the reasons below.
    Class: qqsp_DistAccessException
    Error #: [601, 162]
    Detected at: qqdo_LbRouter::Route at 2
    Error Time: Fri Jan 22 10:44:15
    Distributed method called: GenerationMgrProxy.GeneratePartitionCode
    (object name
    site/codegenerationsvc_cl0/codegenerationsvc_cl0-codegensvc)
    from partition "Fscript_cl9_Client", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614.3]) in application
    "fscript",
    pid 4b81 on node MOOSUP in environment IGTSDENV
    Distributed method called: qqlo_Object.<Message> (object name
    Unnamed)
    from partition "Forte_Executor", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    SYSTEM ERROR: Cannot resolve the distributed reference for an object of
    class
    (qqlo_Object) named (<Unknown>) for the reasons below.
    Class: qqsp_DistAccessException
    Error #: [601, 144]
    Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 10
    Error Time: Fri Jan 22 10:44:15
    Distributed method called: qqlo_Object.<Message> (object name
    Unnamed)
    from partition "Forte_Executor", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    SYSTEM ERROR: This distributed reference was previously invalidated due
    to the
    reasons below.
    Class: qqsp_DistAccessException
    Error #: [601, 132]
    Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 3
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: The connection to the partner was terminated by the
    Communication
    Manager for the reasons below.
    Class: qqsp_DistAccessException
    Detected at: qqdo_PartitionMgr::StopLocation at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: Network partner closed connection. This usually means the
    process at the other end of the wire failed. Please go look there and
    find
    out why.
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 2
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: Asynchronous Failure: Recieved a close from the network
    partner:
    Internet Location - Host: moosup.iroquois.com Port Number: 2504 Dot:
    193.1.11.26 %LINKDISCON, network partner disconnected logical link
    Event 4
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    SYSTEM ERROR: This method invocation is being retried because the
    failures
    shown below and the fact that the dialog duration is MESSAGE. This is
    try #1.
    Class: qqsp_DistAccessException
    Error #: [601, 54]
    Detected at: qqdo_Message::Failed at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: The connection to the partner was terminated by the
    Communication
    Manager for the reasons below.
    Class: qqsp_DistAccessException
    Detected at: qqdo_PartitionMgr::StopLocation at 1
    Error Time: Fri Jan 22 10:44:15
    Distributed method called: qqlo_Object.<Message> (object name
    Unnamed)
    from partition "Forte_Executor", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: Network partner closed connection. This usually means the
    process at the other end of the wire failed. Please go look there and
    find
    out why.
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 2
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    INFORMATION: Asynchronous Failure: Recieved a close from the network
    partner:
    Internet Location - Host: moosup.iroquois.com Port Number: 2504 Dot:
    193.1.11.26 %LINKDISCON, network partner disconnected logical link
    Event 4
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 1
    Error Time: Fri Jan 22 10:44:15
    Exception occurred (remotely) on partition
    "CodeGenerationSvc_cl0_Part1-router", (partitionId =
    32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
    [32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
    application
    "CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
    IGTSDENV.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    If this INCLUDE is in a function group go the MAIN program and activate from there.
    Can you list out the include name?

  • Application Runs Under Windows 8.1 But Not Under Windows XP (I Know XP Is Deprecated)

    The problem is with the obtuse error message put out by Windows's program loader. It reads, in part, "..is not a valid Win32 application." The application runs everywhere except on Windows XP. Looking for root cause of the problem. It's a very
    simple application. Only a few lines of code. 
    C:\Packaged-Software\32-BIT\Reboot.exe is not a valid Win32 application.
    Proposed nature of the problem:
    1. The file was downloaded from a website but the download was incomplete.
    2. The full file system filename path contains bad characters such blank space.
    3. Visual Studio constructed an application that won't run anywhere much less on XP.
    4. The supporting libraries are not properly installed (e.g. .NET Framework4, and VCREDIST).
    Retorts:
    1. The file wasn't downloaded from a website and is intact.
    2. The filename path doesn't contain any spaces.
    3. The application runs under Windows 8.1.  Also on Windows 7.
    4. The supporting libraries are properly installed.
    So, what's the problem?  One surely will not discover the root cause from "not a valid application."
    Body must be 4 to 60000 characters long.  I had put the code here.  It isn't 60000 character long.  But it validated as if there are more than 60000 characters.  Sorry for the incomplete submission due to website construction error.
    MARK D ROCKMAN

    Hi F7H2fw,
    How did you develop the application ?
    Here is a similar symptom and this may explain the issue somehow:
    Setup.exe is not a valid Win32 application
    http://blogs.msdn.com/b/vsnetsetup/archive/2012/10/16/setup-exe-is-not-a-valid-win32-application.aspx
    I suspect there is a compatibility issue here .
    Considering this is more likely a developing issue .It is recommended to ask for help from our MSDN Forum .They are more familiar with the developing issue .If it is possible ,please attach the code in that thread .Thanks for your understanding and cooperation.
    MSDN Forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for