Required Windows updates to run/load dlls created with Visual C++ 2013

I have dlls created with VS2013 C++. Dlls are statically linked with runtime libraries and therefore do not require the redistributable to run on a machine that does not have VS2013 installed.
I have a test machine with Win7 SP1 64-bit without any windows updates. When I try to load a dll created with VS2013 in an executable on that machine, the code dies. Another test machine with windows 7 SP1 fully updated using windows updates loads the same
dll without a problem and the code runs fine.
My question is which windows updates for Win 7 and Win 8  are necessary for dll created with VS2013 to load and run?
Thanks. 

I did use dependency walker. In my post above (third post in the thread) I actually state that: 
"The code crashes(=dies) on the machine without windows updates. I used dependency walker and there are no missing dlls.
Even if there were missing dlls, which there are none, those would be system dlls, because a machine with fully up to date Win7 loads and executes the code without a problem."
The dll is statically linked (/Mt flag was used). For a good measure I installed redistributable which did not solve the problem. Besides static linking applies to runtime dlls, not the system dlls.

Similar Messages

  • Debugging a JNI DLL created with Visual C++

    Hello.
    Due to the necessary libraries, I need to create a DLL in Visual C++ to be called from my Java class:
    System.loadLibrary("my_dll_name");
    But I've got a problem: I'm newbie in Visual C++ and I would like to debug the DLL, so when I press F5 (Go for Debug mode), I get the message "Please specify the executable file". Obviously, I've got a DLL, not an .exe or .com file.
    I would be extremely obliged if anybody could share any experience.
    Thank you very much.

    What you nee to do is this:
    Run your java app (in an IDE if poss.) and have it pause at some point (if its a command line app., wait for a key, if its a Swing app, you're ok, just wait for the app. to appear. Now start VC6 and go
    menus:
    Build/StartDebug/Attach to process. Ther should be one process calleed java. Attach to that. If your DLL has debug info in it, you should be able to navigae to the source and set breakpoints etc.
    Alternativly, you could just put OutputDebugString(...) (this is a Win32 function) statements in your DLL and use DBMON.EXE (from the win32 SDK) to look at the output.

  • Cannot get windows update to run after hard drive install and recovery

    I cannot get windows update to run after a new shdd 1 tb was installed.
    I have a pavilion dv7 4083cl. My recovery set did not work so I used the OEM set.
    Any help would be appreciated

    Hello kjdsynz,
    Have you taken a look at the HD & SSD manual?  Did the recovery fail?  If you take a look at this page for help with that.
    Please let me know if this has helped.
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Windows update stopped running - no error code

    For some reason - presumably a virus, windows update stopped running. When I click windows update in control panel, screen freezes. Only way out is Ctrl+Alt+Del, access Task Manager - it reads Windows Update: Running, and kill the app. Help appreciated! 

    I have a problem, I got a message from the Lenovo solution center that "i never updated my windows" although I updated them and now I have windows 10. In order to fix this, they ask me to launch windows update but the thing is that I cannot launch it. I click on " launch" and nothing happens. I tried manually to find windows update and check for updates but there are no available updates any ideas?

  • Multiplication error in DLLs created with SIT

    I have a problem with a multiplication in a DLL created with the Mathwork's Matlab/Simulink and National Instruments SIT. When multiplying two values of different types (fixed point types) I get really strange and unexplainable results. When I run the simulation in Simulink only, I do not get the error. But when running the same program as DLL in Labview I get a result of 146.xxx instead of 235. Feel free to chck out the included files (.mdl, .dll, .vi).
    I'm desperately looking for solutions.
    Philip
    Attachments:
    interface_test.vi ‏34 KB
    interface_test.dll ‏130 KB
    interface_test.mdl ‏11 KB

    Go ahead and hook up your error clusters and attach them to an indicator. This way you can see if there is a labVIEW problem with your code.
    I cannot run your code myself because of a lack of software but I opened the VI up and saw it was missing error handling.

  • Importing a DLL created with Cygwin

    I am trying to import a DLL created with Cygwin. This is a test DLL created by one of my collegue to validate the import process.
    When I use the import Wizzard, everything run ok. It recognise and build the structure based on the header file.
    When I click ok to generate the wrapper, the progress bar shows but nothing happens. I have to terminate the program (not responding).
    I found in the discussion forum that many users were having similar problem. I also found an interesting article on the subject: http://zone.ni.com/devzone/cda/tut/p/id/5412
    Following this, I reinstalled Cygwin with the packages mentioned in the article :
    gcc
    make
    sharutils
    tclck
    wget
    I also place the Cygwin path in the system path variable. I have also found that if the Cygwin path is not in the system path variable, the wizzard complete ok but the DLL is not able to run (cygwin1.dll is missing).
    Any help will be appreciated.
    RD

    I Claire, I am using Labview 8.6 the demo version.
    What I did is to do a scan of the bulletin board. http://forums.ni.com/ni/board/message?board.id=170​&message.id=384919&requireLogin=False
    I Can't say if this is the same problem I am experiencing but it looks very similar
    I have a Dell Latitude D830
    I have attached a copy of the DLL and an executable that is the core of the DLL.
    Hope this will help you figure it out.
    RD
    Attachments:
    dll.zip ‏4 KB
    test.zip ‏3 KB

  • Can I use my 2TB WD My Book Essential for the Time Machine feature on the MacBook as well as two other Windows computers (one running 7 and one with Vista)?

    Can I use my 2TB WD My Book Essential for the Time Machine feature on the MacBook as well as to store information from two other Windows computers (one running 7 and one with Vista)?

    Yes you can but you need to partition the drive into at least 2 separate drives.
    To do that you need to use a Windows PC to do the first partitioning. Say you split the drive into two partitions each 1TB (or close to 1TB) each.
    Partition fand format both partitions on a Win PC as one NTFS and the other FAT32.
    Then move it to the Mac and Reformat the FAT32 partition Mac Extended (Journaled) with a GUID Partition Table.
    I have that same drive and that is what I did originally with it. I now have it just for the Mac as I have other externals for the Win systems.
    Good Luck.

  • Dll created in visual studion with /CLR option won't load by cvi

    i have created a small dll, which holds 1 exported function.
    The dll is created in VisualStudio2008, sp1
    With option /CLR, targetting .NET framework 2.0
    The export is like below:
    extern "C"  int __declspec(dllexport) __stdcall testHelloWorld(void)
      System::Console::WriteLine("Hello world") ;
      System::Console::WriteLine("Hit the any key") ;
      System::Console::ReadKey() ;
      return 0 ;
    The following code should run this dll, from cvi 9.0.1 (375)
    extern int __stdcall testHelloWorld(void) ;
    typedef int (__stdcall * HelloWorldPtr) (void) ;
    void main(void)
    { HMODULE hLib = 0 ;
      HelloWorldPtr doit ;
      SetStdioPort (HOST_SYSTEM_STDIO);
      SetStdioWindowVisibility (1);
      hLib = LoadLibrary("CppTestClr.DLL")  ;
      (FARPROC)doit = GetProcAddress(hLib,"_testHelloWorld@0");
      doit() ;
    //  testHelloWorld();
    When i run the dll with run time linkage (as show above) there is no error, all ok.
    When i try to run the dll with load time linkage (line 'testHelloWordld' linked-in ),
    cvi shows an error 'A non-debuggable thread caused a general protection fault at address...'.
    This message is shown before the main function is reached.
    Visual studio has no problem in running the code from a win32 console application.
    Labview runs the code without problems.
    Why won't cvi load the dll ??
    tnx.

    nickb wrote:
    A solution will be available, but due to the complexity of this issue LabWindows/CVI 2010 will not work for you out of the box - a configuration will have to be made.  I've made a note to come back and update this post when LabWindows/CVI 2010 releases with instructions concerning this configuration.
    NickB
    National Instruments
    I'm an SSP member, so i'll receive the new version automatically.
    Maybe it's a good idea to also create an entry in the release notes of version 2010.
    These are my first attempts in using c++ dll's as a .NET wrapper for cvi.
    But it looks very promising. Comparing to the .NET wrappers in cvi it's much more convenient (native way of working).
    I would like to be able to use this as a generic way of working.

  • Windows update cannot run because service is not working.

    Thinkpad E545, Windows 7 (64 bit) Professional.  When I attempt to run Windows Update I get the message "Windows update cannot currently check for updates because the service is not working."  Microsoft Fix-It does not help.  I found a YouTube posted by Richard Lloyd and followed the steps:  the Windows Update service is running, the Background service is running.  Several web sources including Microsoft point to an Intel RST driver.  I downloaded this driver g1io15ww.exe and ran the file, but still no joy.  A solution would be welcome, and Happy Thanksgiving.  --  Alan

    Hello and welcome,
    Your laptop is AMD-based (IIRC) so an Intel driver isn't going to help.
    If the update issue is caused by the AHCI driver incorrectly reporting physical sector size (that's what those IRST reports are about) it might be fixed by installing the correct  AHCI driver for your laptop:
    http://support.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-edge-laptops/thinkpad-edge-e5...
    There are other reasons for Win update failures, so this isn't a sure thing. Worth a try, maybe. I've personally only seen this issue with Intel hardware.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • How to run a .DLL(created in VB & VC++) in client machine through Java?

    Hi Guys,
    When i run the .DLL in the server machine through servlets, it opens a
    login screen created by .DLL.But I want to run the same .DLL (which inturn
    opens login screen) in the client machine in the distributed architecture.Let
    me know if u guys are having any suggestions at the earliest.
    Thanks in advance ,
    Venkat.

    Catch up some information on JNI, read the tutorial on
    http://java.sun.com/docs/books/tutorial/native1.1/concepts/index.html
    Very straight forward, you could make a decision and be on your way to achieve it within about an hour.
    Cheers and have a great year.

  • Stuck in "Failure configuring Windows Updates: reverting changes" loading loop

    I just bought a new Asus notebook with Windows 8 today. I wanted to upgrade to Windows 8.1, so I had to first go through with all other updates. When the minor updates got to 98% the computer changed to the "Failure Configuring Windows Updates Reverting
    Changes" screen. It has been on this same loading screen for several hours now. I have tried restarting the computer multiple times. I have looked up several troubleshooting videos and guides, but everyone else seems to have been able to leave the loading
    screen and fix the problem in the actual working computer. I am still stuck in the loading... loading... loading screen. What do I do to get back to the home page? Or anything just to fix the problem.

    Kayla,
    Thank you a 100 times! Being hooked through a modem to my network, as opposed to a direct link, was EXACTLY the problem.
    After wasting 2 hours in the other sections of this forum through numerous threads of the same issues (with the same cut and paste answers by support engineers) it was just that simple. Bam! 5 minutes all better.
    What alarms me is that not one of the dozens of posts i read through did an Engineer ever ask if they were hooked through wifi or a router. Even Dell's hideous support center will go through the basics first before launching into the hoop jumping.
    Again bless you. If I could I'd buy you a drink, or cookies, whichever you prefer :)

  • DLL created with LV 7.1 Application Builder doesn,t work when analysis subVIs are present

    I'm looking for a solution of the following problem.
    The DLL created by the "sum1.vi" source works properly, while the DLL create by "sum2.vi" always gives a zero result.
    The "sum2.vi" source contains an additional "Hanning Window" VI (not wired), that seems to be the cause of the problem.
    If I delete the Hanning VI and re-build the DLL, the same works fine
    Is there a solution or is it not possible to make Labview DLLs when containing analysis VIs as filters, windows, FFTs, and so on?
    Thank you for your answers.
    N. Roberto
    Attachments:
    sum1.vi ‏12 KB
    sum2.vi ‏14 KB

    Roberto N. wrote:
    Thank you Jordan, I'm using Labview 7.1.
    Anyway I've resolved the problem by adding the "lvanlys.dll" file (present in "..\Labview 7.1\resource\lvanlys.dll" path) as support file in the building process. Now the DLL containing the analysis functions works correctly.
    Natalino Roberto
    Ok, you probably got lucky since the lvanlys.dll seems to implement that function directly. However most Advanced Analysis functions are just redirected by lvanlys.dll to the Intel Math Kerneal Library that gets installed with LabVIEW 7.1 and higher. The only way to get that properly installed with your LabVIEW executable or DLL is to create a LabVIEW installer in your Application Builder and make sure to select under "Installer Settings->Advanced" the "LabVIEW Run-Time Engine" and the "Analyze VIs Support". Then use that installer to install your DLL on another computer.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Call RFC with DLL created with DCOM CONNECTOR

    I try to call a RFC with a DLL that i created with the SAP R/3 DCOM CONNECTOR (Release 4.5.B):
    My external soft calls the DLL, which calls the RFC, which calls a transaction (Call Transaction Mode N, Update S)...
    When i test the RFC in SAP (SE37), it's OK.
    But when i call the RFC with my soft (and with the DLL), the Call Transaction returns sy-subrc = 1.001 (the methode "AdviseRfcGuiSink" included in the DLL allows me to launch the debugging with my external soft).
    I found no SAP notes about this problem.
    If you met the same problem, could you help me ?
    Thanks.
    Julien.

    Some Years later I have the same Problem.
    As discripet in the post before - first I've got an error in the Method "CreateNewRow()" where the Method wants to return "return new byte[]()". Well I don't know why the .Net-Connector creates that code - but it looks strange to me.
    The origin Code is:
        /// <summary>
        /// Creates an empty new row of type byte[].
        /// </summary>
        /// <returns>The newbyte[].</returns>
           public override object CreateNewRow()
                return new byte[]();;
    With Changing that method I've got the same Error as in the post before:
    System exception thrown while marshaling RFCTYPE_XMLDATAto .NET type.
    Does someone has found a solution for that kind of Problem?

  • How can I debug a DLL created with MS Visual Studio C++ using CVI?

    I have developed a DLL using MS Visual Studio C++, which is called by an other application written in CVI.
    My goal is to debug the DLL written with C++ when is called from CVI.
    So far I have some msg popups, but I would like to have more debugging capabilities.
    Thanks, Adalbert

    Hello Adi11,
    As documented in the CVI Help under "Debugging DLLs": "In the LabWindows/CVI development environment, you can debug only DLLs you create in LabWindows/CVI with the Create Debuggable Dynamic Link Library command. Other development environments cannot debug DLLs you create in LabWindows/CVI."
    This information was also mentioned on the following discussion forum.
    Thanks.
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • Using DLLs created with LabWindows/CVI 8.0.0 in LabWindows/CVI 8.0.1

    Hi,
    I have created a project containing some methods with LabWindows/CVI 8.0.0 and then build the project and generated the DLL and LIB files. These DLL and LIB files are working fine in another projects created in LabWindows/CVI 8.0.0 (even on another machines).
    But when I use these DLL and LIB files in a project created with LabWindows/CVI 8.0.1 on another machine and try to call the methods of these files, the following error occurs: -
    "The program has caused a 'Unknown' fault at 001B:7C812AFB"
    Is this error occurs due to ther version mismatch or there is some other problem?
    Please help me to resolve this issue.
    Thanks,
    Sarabjit Singh

    Judging from this, I don't think NI has a newer version of this tool:
    http://forums.ni.com/t5/Measurement-Studio-for-VC/Convert-project-from-LabWindows-CVI-to-Visual-Stud...

Maybe you are looking for