Program Error from running the *,exe file but works fine running with CVI

When starting CVI created program on Win 2000, I get message “Program Error”.
I have created a program using NI/CVI version 5.5. I am running windows 2000, I get message 
“Program Error"
*.exe has generated errors and will be closed by Windows. You will need to restart the program.
An error log is being created.”
It works fine when running directly from the compilier, but if I run just the *.exe I get this error.  I never used to.
Please let me know if anyone else had this problem or knows solution.
Thank you very much.
Craig

In the debugger unitialized globals are initialized to zero, but not for a release .exe.  So if you are checking whether a global pointer is NULL before it is set to a value by your application it will generally work fine in the debugger but may crash as a release configuration depending on what you use that pointer for.  That's a common thing I have run into.

Similar Messages

  • I get a message that itunes  has stopped working. When I check out why it is because of the dep security on my computer. When I try to find the program for itunes for the .exe file i cannot find it to turn off the dep for  that file

    I get a message that itunes  has stopped working. When I check out why it is because of the dep security on my computer. When I try to find the program for itunes for the .exe file i cannot find it to turn off the dep for  that file

    I found the file but when I added it to the  list for the Data  Execution Program to ignore , I received a message that the Program.x86/itunes file must have the DEP on in order to run. Anyone else having this problem ?

  • I have downloaded the Premiere 10 trial and run the exe file in...\Adobe Premiere Elements 10\PRE 10

    I have downloaded the Premiere 10 trial and run the exe file in...\Adobe Premiere Elements 10\PRE 10\ElementsSTIInstaller, However, I can not find the program on my computer.  Can you please tell me the procedure to install the program following the down load???
    P.S. the download assistant does not install the program automatically and I have restarted the computer.
    Thankyou

    this might help:
    http://helpx.adobe.com/photoshop-elements/kb/install-premiere-elements-photoshop-elements. html

  • I've installed elements 12 but it won't open it's asking for the exe file but all it does when located is install again.  I can't uninstall as it isn't present in control panel

    I've installed elements 12 but it won't open it's asking for the exe file but all it does when located is install again.  I can't uninstall as it isn't present in control panel.  When I open properties it asks to locate the exe or the other options don't work the target is invalid

    Hi sambanyc,
    What version of Adobe Reader have you installed on your Mac?
    Please try installing on a different Admin user account and check if that makes a difference.
    Regards,
    Rave

  • Run the EXE File by SAP

    My Request is i Have more push button in my screen each button calling each exe file but i don't known how to handle the this suit ion
    so any FM Module is in SAP please tell me answer
    by
    imuthu.

    Hello
    Try this:
    CALL METHOD cl_gui_frontend_services=>execute
    EXPORTING
       application = 'C:\WINDOWS\NOTEPAD.exe'
       default_directory = 'C:\WINDOWS'
    EXCEPTIONS
       cntl_error = 1
       error_no_gui = 2
       bad_parameter = 3
       file_not_found = 4
       path_not_found = 5
       file_extension_unknown = 6
       error_execute_failed = 7
       OTHERS = 10.

  • Select running slow in prod but work fine in T-1

    We have a query which run very slow on production database it is taking around 7 min to run.
    While it is working fine on T-1 database which gets refreshed every night, here it takes around 3 seconds.
    both the os version and database versions are same.
    Database is also refreshed and have same data and statistics.
    please update what could be the reason?
    SELECT c.txt_master_claim_no "Master Claim No",
    c.num_serial_no "Serial No",
    TO_CHAR(c.dat_loss_date, 'dd / mm / yyyy') "Loss Date",
    d.departmentname "Line of Business",
    m.productname "Product",
    tab.stat "Status"
    FROM (SELECT t.num_claim_no, 'REPUDIATION' stat, num_update_no
    FROM gc_clm_gen_info t, gc_clm_os a
    WHERE t.num_update_no =
    (SELECT MAX(p.num_update_no)
    FROM gc_clm_gen_info p
    WHERE p.num_claim_no = t.num_claim_no)
    AND t.txt_claim_status = 'X'
    AND a.cur_os_amount = 0
    AND a.num_ac_year * 100 + a.num_ac_month =
    (select max(s.num_ac_year * 100 + s.num_ac_month)
    from gc_clm_os s
    where s.num_claim_no = a.num_claim_no)
    AND t.num_claim_no = a.num_claim_no
    UNION
    SELECT a.num_claim_no, 'DISBURSE' stat, num_update_no
    FROM gc_clm_os a, gc_clm_gen_info b
    WHERE a.cur_os_amount = 0
    AND a.num_ac_year * 100 + a.num_ac_month =
    (select max(s.num_ac_year * 100 + s.num_ac_month)
    from gc_clm_os s
    where s.num_claim_no = a.num_claim_no)
    AND b.num_update_no >
    (SELECT MAX(x.num_update_no)
    FROM gc_clm_gen_info x
    WHERE x.num_claim_no = b.num_claim_no
    AND x.txt_claim_status in ('F', 'X'))
    AND a.num_claim_no = b.num_claim_no
    UNION
    SELECT a.num_claim_no, 'DISBURSE' stat, num_update_no
    FROM gc_clm_os a, gc_clm_gen_info b
    WHERE a.cur_os_amount = 0
    AND a.num_ac_year * 100 + a.num_ac_month =
    (select max(s.num_ac_year * 100 + s.num_ac_month)
    from gc_clm_os s
    where s.num_claim_no = a.num_claim_no)
    AND b.num_update_no =
    (SELECT MAX(x.num_update_no)
    FROM gc_clm_gen_info x
    WHERE x.num_claim_no = b.num_claim_no)
    AND a.num_claim_no = b.num_claim_no
    And b.txt_claim_status = 'F'
    and not exists
    (select 1
    from gc_clm_payment_details p
    where p.num_claim_no = a.num_claim_no
    and p.txt_status in ('APPROVAL DUE', 'APPROVED'))
    ) tab,
    gc_clm_gen_info c,
    uw_product_master m,
    uw_department_master d
    WHERE tab.num_claim_no = c.num_claim_no
    AND c.num_update_no =
    (SELECT MAX(d.num_update_no)
    FROM gc_clm_gen_info d
    WHERE d.num_claim_no = c.num_claim_no)
    AND c.num_department_code = d.departmentcode
    AND m.productcode = c.num_product_code
    AND M.DEPARTMENTCODE=D.DEPARTMENTCODE
    AND c.txt_claim_status NOT IN ('O', 'S')
    AND c.num_update_no = tab.num_update_no
    AND c.num_claim_no not in
    (select p.num_claim_no
    from gc_clm_payment_details p, gc_clmmst_resource_type r
    where p.num_type_of_party = r.num_resource_type_cd
    and r.txt_loss_exp = 'E'
    and p.txt_status = 'APPROVAL DUE') and Upper(C.txt_master_claim_no) like '%C231110020345%' order by c.NUM_CLAIM_NO Desc;
    Edited by: user12195658 on Mar 24, 2011 7:27 AM

    from T-1 explain plan output is:
    Explain complete.
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 1 | 132 | | 5862 (4)|
    | 1 | SORT ORDER BY | | 1 | 132 | | 5862 (4)|
    | 2 | NESTED LOOPS | | 1 | 132 | | 5853 (4)|
    | 3 | NESTED LOOPS | | 1 | 97 | | 5852 (4)|
    | 4 | NESTED LOOPS | | 1 | 83 | | 5851 (4)|
    | 5 | VIEW | | 78 | 2574 | | 5617 (4)|
    | 6 | SORT UNIQUE | | 78 | 6992 | | 5617 (78)|
    | 7 | UNION-ALL | | | | | |
    | 8 | FILTER | | | | | |
    | 9 | HASH JOIN | | 29 | 1943 | | 1266 (5)|
    | 10 | HASH JOIN | | 2895 | 115K| | 584 (5)|
    | 11 | INDEX FAST FULL SCAN | IND_GC_CLM_GEN_INFO | 2437 | 43866 | | 353 (5)|
    | 12 | TABLE ACCESS FULL | GC_CLM_OS | 36517 | 820K| | 229 (4)|
    | 13 | VIEW | VW_SQ_1 | 43391 | 1101K| | 680 (4)|
    | 14 | HASH GROUP BY | | 43391 | 1313K| 4712K| 680 (4)|
    | 15 | TABLE ACCESS FULL | GC_CLM_OS | 65293 | 1976K| | 228 (4)|
    | 16 | SORT AGGREGATE | | 1 | 15 | | |
    | 17 | INDEX RANGE SCAN | IND_GC_CLM_GEN_INFO | 6 | 90 | | 3 (0)|
    | 18 | HASH JOIN | | 76 | 6840 | | 2001 (5)|
    | 19 | HASH JOIN | | 2207 | 137K| | 1338 (5)|
    | 20 | HASH JOIN | | 365 | 17885 | 1256K| 1054 (4)|
    | 21 | TABLE ACCESS FULL | GC_CLM_OS | 36517 | 820K| | 229 (4)|
    | 22 | VIEW | VW_SQ_2 | 43391 | 1101K| | 680 (4)|
    | 23 | HASH GROUP BY | | 43391 | 1313K| 4712K| 680 (4)|
    | 24 | TABLE ACCESS FULL | GC_CLM_OS | 65293 | 1976K| | 228 (4)|
    | 25 | INDEX FAST FULL SCAN | PK_GC_CLM_GEN_INFO | 262K| 3849K| | 276 (5)|
    | 26 | VIEW | VW_SQ_3 | 30152 | 765K| | 661 (5)|
    | 27 | HASH GROUP BY | | 30152 | 883K| 3336K| 661 (5)|
    | 28 | INDEX FAST FULL SCAN | IND_GC_CLM_GEN_INFO | 46690 | 1367K| | 356 (6)|
    | 29 | FILTER | | | | | |
    | 30 | HASH JOIN | | 511 | 43435 | | 1535 (5)|
    | 31 | HASH JOIN ANTI | | 337 | 22579 | | 1180 (4)|
    | 32 | HASH JOIN | | 365 | 17885 | 1256K| 1054 (4)|
    | 33 | TABLE ACCESS FULL | GC_CLM_OS | 36517 | 820K| | 229 (4)|
    | 34 | VIEW | VW_SQ_4 | 43391 | 1101K| | 680 (4)|
    | 35 | HASH GROUP BY | | 43391 | 1313K| 4712K| 680 (4)|
    | 36 | TABLE ACCESS FULL | GC_CLM_OS | 65293 | 1976K| | 228 (4)|
    | 37 | INDEX FAST FULL SCAN | IND_GC_CLM_PAYMENT_DETAILS | 2396 | 43128 | | 125 (6)|
    | 38 | INDEX FAST FULL SCAN | IND_GC_CLM_GEN_INFO | 44253 | 777K| | 354 (5)|
    | 39 | SORT AGGREGATE | | 1 | 15 | | |
    | 40 | INDEX RANGE SCAN | IND_GC_CLM_GEN_INFO | 6 | 90 | | 3 (0)|
    | 41 | TABLE ACCESS BY INDEX ROWID | GC_CLM_GEN_INFO | 1 | 50 | | 3 (0)|
    | 42 | INDEX RANGE SCAN | PK_GC_CLM_GEN_INFO | 1 | | | 2 (0)|
    | 43 | SORT AGGREGATE | | 1 | 15 | | |
    | 44 | INDEX RANGE SCAN | IND_GC_CLM_GEN_INFO | 6 | 90 | | 3 (0)|
    | 45 | NESTED LOOPS | | 1 | 26 | | 5 (0)|
    | 46 | TABLE ACCESS BY INDEX ROWID| GC_CLM_PAYMENT_DETAILS | 1 | 21 | | 4 (0)|
    | 47 | INDEX RANGE SCAN | IND_GC_CLM_PAYMENT_DETAILS | 1 | | | 3 (0)|
    | 48 | TABLE ACCESS BY INDEX ROWID| GC_CLMMST_RESOURCE_TYPE | 1 | 5 | | 1 (0)|
    | 49 | INDEX UNIQUE SCAN | PK_GC_CLMMST_RESOURCE_TYPE | 1 | | | 0 (0)|
    | 50 | INDEX RANGE SCAN | UW_DEPARTMENT_MASTER_INDX | 1 | 14 | | 1 (0)|
    | 51 | INDEX RANGE SCAN | IND_UW_PRODUCT_MASTER | 1 | 35 | | 1 (0)|
    Note
    - 'PLAN_TABLE' is old version
    61 rows selected.

  • I can download firefox, but when I try to run it, windows 7 asks me to select a program type to run the *.exe file

    I am running windows 7 with IE 10. I want to switch to Firefox as my browser. I am able to download the Firefox Setup 22 0 exe, but when I try to open or run it, windows prompts me to "choose the program you want to use to open this file". This happens with both the Firefox Setup Stub 22 0 exe (274kb) and the Firefox Setup 22 0 exec (21,239Kb). I can't find any program on Windows to run this exe. Same thing happens when I try to run the troubleshooter exe.

    Hello annsboland
    Do you have also problem with others exe files ?
    try to create a new user account in Windows 7 and check it again
    see if the next articles in the links helps to create the new account:
    http://www.bleepingcomputer.com/tutorials/create-new-user-account-in-windows-vista-7/
    http://www.pcadvisor.co.uk/how-to/windows/3326039/how-add-new-user-account-in-windows-7/
    thank you

  • Unhandled exception when code runs for the first time,but works fine the second

    Hi All,
    I have the following code snippet
    private void RGL_Click(object sender, RibbonControlEventArgs e)
    Word._Document oDoc;
               oDoc = Globals.ThisAddIn.Application.ActiveDocument;
                object start = oDoc.Content.Start;
                object end = oDoc.Content.End;
                oDoc.Range(ref start, ref end).LanguageID = WdLanguageID.wdEnglishCanadian;
                oDoc.Range(ref start, ref end).NoProofing = 0;
    Microsoft.Office.Interop.Word.ReadabilityStatistic DocStats;
                    DocStats = oDoc.ReadabilityStatistics[10];------>exception occurs here when code runs first time
                    MessageBox.Show(DocStats.Name + " " + DocStats.Value);
    When I copy paste a document and click on the button it raises a COM exception but if I click continue and click on the button again, the correct grade level score is displayed.Cant figure out why this is happening.

    Thanks for the answer Eugene, this exception never shows up if I type something and click on the rgl button , but if i open a huge document that is already in Canadian english and click on this ribbon it gives me the following exception
    System.Runtime.InteropServices.COMException was unhandled by user code
      HelpLink=wdmain11.chm#36966
      HResult=-2146824090
      Message=Command failed
      Source=Microsoft Word
      ErrorCode=-2146824090
      StackTrace:
           at Microsoft.Office.Interop.Word.ReadabilityStatistics.get_Item(Object& Index)
           at UsabilityMapping_V01.Ribbon1.RGL_Click(Object sender, RibbonControlEventArgs e) in <my path> 1211
           at Microsoft.Office.Tools.Ribbon.RibbonPropertyStorage.ControlActionRaise(IRibbonControl control)
           at Microsoft.Office.Tools.Ribbon.RibbonPropertyStorage.ButtonClickCallback(RibbonComponentImpl component, Object[] args)
           at Microsoft.Office.Tools.Ribbon.RibbonManagerImpl.Invoke(RibbonComponentCallback callback, Object[] args)
           at Microsoft.Office.Tools.Ribbon.RibbonMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
           at Microsoft.Office.Tools.Ribbon.RibbonManagerImpl.System.Reflection.IReflect.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[]
    namedParameters)
      InnerException: 

  • LSMW Fails when run in B/G but works fine in Front end..why?

    Hi All,
    i am trying to run a batch process by LSMW, my files are accurate, no problem with them, everything works fine but it fails when run in BG..works absolutely fine in front end. whats the diff with running in B/G?
    same thing happens when i am trying to execute an RFC thru SAP JCO, it works when debugger is on (i guess switching on debugger is similar to running in B/G) but it doesnt work when debugger is off. but when i execute that RFC directly in se37 from SAP gui it works fine..fails when connected to JCO..
    i am not having this issue with r/3 4.6c or mySAP ECC.6.0  i have this issue only in r/3 4.7.
    has anyone faced the similar situtaion? pls help.
    thanks.
    p.s if this may help. the RFC and LSMW error both are pertaining to change in address of US employees.( infotype 0006)

    Applying  SAP note 928273 Solved this issue.

  • JRE7 throws exception Can't create cache file but work fine with JRE6

    I am using J-free chart for rendering charts. My application is work fine with JRE6 but while using JRE7 i am getting following exception
    Caused by: javax.imageio.IIOException: Can't create cache file!
         at javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
         ... 18 more
    Caused by: java.io.IOException: The system cannot find the path specified
         at java.io.WinNTFileSystem.createFileExclusively(Native Method)
         at java.io.File.createTempFile(Unknown Source)
         at javax.imageio.stream.FileCacheImageOutputStream.<init>(Unknown Source)
         at com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInstance(Unknown Source)
         ... 19 more

    I was not able to reproduce this with Java 7u3 (32bit) on a Windows 7 (32bit).
    What specific version of Java were you using at the time of error?
    - ShakR

  • Magic Mouse won't right click on files, but works fine otherwise. 10.6.8

    My Magic mouse just suddenly seemd to stop right clicking on files. I can right click on blank sapces in finder or on the desktop and it gives me the usual drop down menu but as soon as I try and right click or ctrl+click on a file there's just nothing. Can't seem to find any similar problems on google. Any ideas?

    Hi, yes. The right click would work at start-up until I click on 'always allow' for permissions for google drive, then it dissappears
    Unfortunately I found no other workaround other than to switch to the other views (although I strongly dislike working in the other views). But I just use Drive in my internet browser when I do use it, so it's okay for me to uninstall it. Maybe it's something to contact google about so they can fix it on there side.

  • Data type change made to schema.xml of comments list which is part of blog site template is not reflecting in the existing site but working fine when new site is created.

    Hi,
    I have created a blog site with the available site template few days back. Now we have the requirement of having the attachments in the body of the comments section. 
    So, I updated the schema.xml of the comments list available under ../templates/blog/lists/comments/schema.xml to have rich text for the Body field.
    With this change, I created a new site and it was working fine. Change is reflected in the new blog site.
    However, this particular change is not reflected in the existing blog site. Any changes made to the schema.xml is not effecting the old blog site.
    Can anyone suggest what can be done for the change to be reflected in the old blog site?
    Thanks in Advance,
    Regards, Keerthi Suryadevara

    Hi,
    According to your post, my understanding is that you wanted to add attachments in the body of the comments section.
    You can add the the Code inside the Default list pages. For more information, you can refer to:
    Enable Attachment in SharePoint Blog post list and display the list Attachments
    In addition, you can add an enhanced rich text field to the comment list and remove the body field. Then you can insert files into comments, too.
    Here is a similar thread for your reference:
    http://sharepoint.stackexchange.com/questions/77194/how-to-add-attachments-for-comments-list-in-sharepoint-blog-2010
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I'm running windows 7, downloaded firefox 3.6, when I click to open and run the exe file, it says the file is corrupt. Any thoughts? I have the latest Adobe Flash Player installed

    Says file is corrupt every time I try to install Firefox 3.6

    Hi Raphe,
    There are a couple of things I know that can cause this. One of which I have experienced myself.
    Sometimes, your router may be faulty. This will usually effect all downloads unless they are very small files. I have experienced this myself, and found the only way to fix the problem is to replace it.
    Another problem that could cause this is a virus. You should scan your computer for viruses using a trusted antivirus. The virus is sometimes scareware which claims you have a virus, but actually, the only virus is the scareware antivirus!
    I hope this helps,
    -Taddle

  • I have downloaded a new version of Firefox, but can't figure out how to install it. I see the folder with Firefox application in it -- & have tried to run the executable files, but none of them start the installation.

    I have a 3.6.23 Version of Firefox & am trying to upgrade to the latest version

    Hi,
    There's information on that here: [[Installing Firefox on Linux|Installing Firefox on Linux]]
    Jack

  • Cs5 gives error that camera type is not supported when trying to open raw files but worked fine earlier

    Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw.
    Please visit the Camera Raw help documentation for additional information.
    THis is what I get when trying to open files. Half my session opened fine then all of a sudden i get this error. Won't open in LR5 Either. HELP! using LR5 AND CS5 ON A IMAC with a canon 5dm3. everyhting is up to date as i I checked..

    I will try that now. It reads that it is up to date but I will reinstall. The session after it loaded just fine on the same card

Maybe you are looking for

  • Getting a library audiobook to work on my iPod Touch (3rd gen).

    I have downloaded several audiobooks in the past from the library. They have all been MP3. But I am trying to download Game of Thrones and it is WMA. We use a program called OverDrive. I downloaded it to my PC first and it works on there, but when I

  • Help With Zen Vision:M 30G, lost alot of music, "rebuilding" progress bar doesnt fin

    I purchased my Zen Vision:M 30GB player about 5 months ago and its been great untill today I turned it on and it froze, so i hit the reset button. Heres the thingI reset it and that "Rebuilding" progress bar poped up like it has in the past when i hi

  • Open PDF in Acrobat?

    In OSX Lion and prior versions, you'd see a PDF in a Safari browser window and then be able to roll over the icons near the bottom of that browser window and select "Open in Acrobat", I liked that feature alot and used it daily many times. What has b

  • XML SQL utility

    Hi, When I try to execute this query using XML SQL utility I am getting the following error. I had declared 'XMLGEN & GETXML' as CLOB and tried but got the same error. Advice me. I am struggling to find the solution using XSQL Servlet..but couldn't g

  • Can't open logicExpress-project in LogicPro7

    I've got the following problem: I'm using LOGIC PRO 7 and I try to open a project which was created in LOGIC EXPRESS (7/8?)... but unfortunately I can't find any project-file to open...? the project is composed of 4 folders (Bounces,Fade Files, Proje