Appeal of kernel32.dll crashes LV2011 SP1 64-bit

Hi all

I'm moving an applciation of LV2011 SP1 on Windows XP SP1 LV2011 64 bit on Win7 64 bit.

In my application I am making calls to the file kernel32.dll to know how much of RAM is available on the computer, this is the VI I use for this:

To call the dll, I only give the name of the "kernel32.dll" and not the full path.

I never had problems with it on Win XP and now that I'm on Win7 64 bit, when I run this VI, LV disappears just far with no message of accident and when I restart, it won't crash recovery process.

I went in the C:\Windows\System folder and seen that there are two files kernel32.dll, one in the System32 subfolder and the other in the SysWOW64 subfolder.

I tried to give the full path of the two versions of the dll in the node of the call, but I keep getting the same result.

No idea what should I do to make this work?

I guess I could give up by using a call to the dll and use some .NET features but I'm really not familiar with it.

I think your problem is that 64-bit systems, SIZE_T (the data type for most of the parameters of the structure) is 64-bit, and you have not signed it, 32-bit values.

Tags: NI Software

Similar Questions

  • Random crashes application of kernel32.dll kernelbase.dll and ntdll.dll

    I am experiencing appcrahes randomly in my Windows 7 laptop, I work the following configuration:

    Laptop: Asus K55VM R500V
    Windows 7 Home Premium 64 bit - SP 1 - Build 1130
    Problem:
    Accidents occur at random times with random applications. Which can be either my Steam Client, Skype, Google Chrome, QQ International Messenger, or Windows Explorer. It doesn't matter if I use them all at the same time only two or what I do with my laptop. Often when I play the video game heavy (i.e. Far Cry 3) my laptop is fine, but all simply using my email can cause a malfunction.
    I used the logger to see what was causing the crash as Solutions Windows only tells me to update my programs (all programs are up to date) and I discovered that all accidents are caused by Kernel32.dll Kernelbase.dll & (only for third-party software) and ntdll.dll (Windows Explorer only). Another thing that might be important, is that, generally, applications fail when you do
    . For example, I use Skype, I feel a freeze, Windows tells me that the program has stopped working, when I check my other programs, I see that the rest I was running also closed.
    The Eventviewer error codes:
    The following codes appear in my event viewer, whenever my requests fall I have the same error codes over and over again.
    The failing application name: Explorer.EXE, version: 6.1.7601.17567, time stamp: 0x4d672ee4
    The failed module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
    Exception code: 0xc0000005
    Offset: 0x00000000000587d8
    ID of the process failed: 0xd78
    Start time of application vulnerabilities: 0x01ce26069474b546
    The failing application path: C:\Windows\Explorer.EXE
    The failed module path: C:\Windows\SYSTEM32\ntdll.dll
    Report ID: 0e2ce05c-9264-11e2-ad10-10bf482cb231
    Name of the failing application: Skype.exe, version: 6.3.0.105, time stamp: 0x512fa5e2
    The failed module name: kernel32.dll, version: 6.1.7601.18015, time stamp: 0x50b83c89
    Exception code: 0xc0000005
    Offset: 0x000111e2
    ID of the process failed: 0 x 638
    Start time of application vulnerabilities: 0x01ce248ff0e47f10
    The failing application path: C:\Program Files (x86)\Skype\Phone\Skype.exe
    Path of the failing module: C:\Windows\syswow64\kernel32.dll
    Report ID: 0af4d3f9-9089-11e2-92ab-10bf482cb231
    Name of the failing application: chrome.exe, version: 25.0.1364.172, time stamp: 0x513d06c4
    The failed module name: kernel32.dll, version: 6.1.7601.18015, time stamp: 0x50b83c89
    Exception code: 0xc0000005
    Offset: 0x000111e2
    ID of the process failed: 0x1b54
    Start time of application vulnerabilities: 0x01ce249249287ef0
    The failing application path: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
    Path of the failing module: C:\Windows\syswow64\kernel32.dll
    Report ID: 0af4ace9-9089-11e2-92ab-10bf482cb231
    Name of the failing application: steam.exe, version: 1.70.46.67, time stamp: 0x5143b70d
    The failed module name: kernel32.dll, version: 6.1.7601.18015, time stamp: 0x50b83c89
    Exception code: 0xc0000005
    Offset: 0x000111e2
    ID of the process failed: 0 x 1348
    Start time of application vulnerabilities: 0x01ce248a5e2a817e
    The failing application path: C:\Program Files (x86)\Steam\steam.exe
    Path of the failing module: C:\Windows\syswow64\kernel32.dll
    Report ID: 0b0500d6-9089-11e2-92ab-10bf482cb231
    What have I've tried so far...
    I started looking for answers to my problem, and I tried the following:
    -Updated all my drivers
    -Device Manager checked manually to the required updates
    -J' checked my files system at the command prompt
    -J' I made sure all the software has been updated, including windows of course
    -J' did a clean install of Windows
    -After that the problem remains I did Memtest86 v4.2 (just to be sure I pass for 35 times)
    -Important to know are that since the beginning, I bought this laptop (5 months ago) I've been running Norton 360 and I am now updated, so any virus or malware is also out of the question.
    I think this would be it, it's really driving me crazy... I think I have almost tried everything and I don't know what else to try. The warranty only covers hardware failures and like memtest86 passed, I am not eligible for any support software at my retailer.
    I would be really grateful for any help or suggestion, if you need other information or error logs please let me know.
    Thanks in advance!
     

    Hi Joepvan der Poel,

    The question seems to be because of two system knowledge of kernel32.dll and ntdll.dll files

    Since you did a clean install of Windows 7 and still the problem reappears, it seems that the version of Windows installed on your computer and on the aswell of media is corrupt. That's why I suggest you get a copy of these two files, kernel32.dll and ntdll.dll of another trust worthy Windows 7 computer running the same version, edition and service pack and stick it in the c: drive > Windows > System32 folder and save the files again and check if the problem persists.

    To reregister the files follow these steps:

    a. click on the "Start" menu, click on 'run '.

    b. in the "Open" box type " kernel32.dll/regserver", without the quotes and press ENTER.

    c. for ntdll.dll type ""ntdll.dll /regserver ", without the quotes and press ENTER."

    It will be useful.

    Please return to the State of the issue and also let us know if you face any problem of Windows in the future and we will be happy to help you.

  • Kernel32.dll is included in the support folder

    Hello

    I had to provide a multilingual support in my application (English and Russian) and I chose Unicode functions for the end of this Web page:
    https://decibel.NI.com/content/docs/doc-10153

    Calls made to kernel32.dll for the string conversion between ASCII and Unicode and forcing the manufacturer asked to include kernel32.dll in the support folder. I seem unable to exclude the addition of kernel32.dll. Then, the application installation program will pick up the kernel32.dll file. If I try to delete it before creating the installer, it will detect the missing file and will not build. So, let the installer to copy the file kernel32.dll on a target computer seems odd, but works if LabVIEW development PC and the target computer have the same flavors of Windows and both 32-bit. The real trouble begins when 32-bit kernel32.dll is copied on Windows 7 64 bit. Then application will crash before loading. The solution, of course, is to manually remove the 32-bit kernel32.dll file that was placed there by the installer.

    Is there a way to tweak the application Builder so that it won't automatically include a copy of the kernel32.dll file and let my request to use one Windows on the target machine?
    Is there another library that I could use for Unicode in LabVIEW which is not married to kernel32.dll?

    I work with LabVIEW 2011 on Windows7 32-bit SP1

    Thank you

    Serge

    Ensure that any node library call which accesses a function from kernel32.dll, contains only the name of the DLL without any path information. The "name or library path" being a name tells that the application builder to process the DLL as a pre-installed system and not copy as a DLL in the generation of the application. It is in fact also documented in the online help on the library node call.

  • APPCRASH on windows install module kernel32.dll error

    I get the same app crash when I try to install 2 different software.  Yet this happens not all the time.  I tried to download all updates current windows and improved my windows installer, but rest the eror.  Any ideas where I can devote myself to the next step for a fix?  Im running family WIndows Vista Basic SP1

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: MSIEXEC. EXE
    Application version: 4.5.6001.22162
    Application timestamp: 48080879
    Fault Module name: kernel32.dll
    Fault Module Version: 6.0.6001.18215
    Timestamp of Module error: 49953395
    Exception code: c0000005
    Exception offset: 000254d 8
    OS version: 6.0.6001.2.1.0.768.2
    Locale ID: 1033
    Additional information 1: a3e0
    More information 2: aee72335629a00de4409e987961c77e4
    Additional information 3: e001
    Additional information 4: 5137abbcd22b02325edd964221da23d6

    Hi bekfmul

    At what stage of installation does this error happen?

    Try these steps and check if that helps:

    Step 1: SFC Scan

    Try the SFC Scan to check the integrity of the system.

    Step 2: Stop and restart the Windows Installer Service

    1. click on the menu button of Windows (formerly start) or press the Windows keyboard.

    2. in the search box, type Services and then click on the Services element that appears at the top.

    3. expand the Services window and then scroll down to Windows Installer.

    4. right click on the Windows Installer list item and then click on stop, right click again and then click Start.

    Step 3: Unregister and re-register Windows Installer.

    To do this, follow these steps:
    1. click on start and then click Run.
    2. in the Open box, type msiexec /unreg and then press ENTER.
    3. click on start and then click Run.
    4. in the Open box, type msiexec/regserver, and then press ENTER.

    Step 4: We need to install the latest version of Windows Installer that is 4.5.

    Now reboot and then try to install the applications and check if you get the same error.

    After back and let us know if it helped to solve your problem.

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Kernel32.dll

    I need help. my new laptop has crashed on me. so I have
    on my old laptop and started skyping on
    it. Skype said after a few days I had a
    Update. then always wanting the best software I
    is the update of Skype. After the update I
    clicking on the Skype icon after reboot of my
    computer and I got a «fatal error in Skype»
    message box that States "cannot get the proceedings".
    address for GetLogicalProcessorInformation
    (KERNEL32.dll).

    I don't know what to do. I tried to delete
    and redownloading the program. I don't even have
    checked the community, but none of the solutions
    I found worked.

    I use a dell mini inspiron
    Microsoft windows xp
    Professional
    version 2002
    service pack 2

    Atom of Intel (r)
    CPU N270 @ 1.60 GHz
    1.60 GHz, 0.99 GB of RAM

    There are about 100 positions on this Community Forum dealing with this issue.

    To resolve this problem, you must update your installation of Windows XP Service Pack 3.

    http://Windows.Microsoft.com/en-us/Windows/help/learn-how-to-install-Windows-XP-Service-Pack-3-SP3

    The GetLogicalProcessorInformation function was introduced in Windows XP with Service Pack 3 and was not present on the older installations of Windows XP.

  • error message ' GetLogicalProcessorInformation... kernel32.dll ' after you apply the update to firefox 36.0

    I used firefox 35.0.1 and just applied the update 36.0 a few hours ago.
    After that, I was unable to run firefox.
    When I double-click on the icon of firefox, it bumps on the error message 2.
    1 of them is ' GetLogicalProcessorInformation... kernel32.dll. "
    and the other is 'exceptional unknown error (0xc06d007e) at 0x7c812a5b.

    those are key words of the message since I use firefox traditional version, do not know if I translate correctly.
    wonder if I can just get back to 35.0.1 and wait for another update to fix this

    Hi again, mozilla has just released an update for firefox 36.0.1 to focus on the issue: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/36.0.1/win32/

  • Need help, GetLogicalProcessorInformation (KERNEL32.dll)

    [The update by the moderator topic title should be more descriptive. [Original topic title was: 'need help, please!']

    I'm trying to install Skype on my parents computer and now I get a fatal error Message: could not get the address of procedure for GetLogicalProcessorInformation (KERNEL32.dll). What should I do?

    Thank you

    You need to update the installation of Windows XP on this computer to the last Service Pack 3 (SP3).

    https://support.Skype.com/en/FAQ/FA12388/why-am-i-getting-a-fatal-error-KERNEL32-dll-when-i-try-to-l...

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=24

  • Why my Skype does not work? "KERNEL32.dll".

    [The update by the moderator topic title should be more descriptive. Original section title was: "why my Skype does not work:------?']"

    It's saying "Fatal error failed to get proc for GetLogicalProcessorInfromation (KERNEL32.dll) address; __ ; someone help me?

    You must update your installation of Windows XP to the latest Service Pack 3 (SP3).

    https://support.Skype.com/en/FAQ/FA12388/why-am-i-getting-a-fatal-error-KERNEL32-dll-when-i-try-to-l...

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=24

  • DetermineReportFilePathNameExpr missing dll Testand 2014 SP1

    In my sequence of process template is only a call to DetermineReportFilePathNameExpr in content modelsupport2.dll. (Teststand 2014 64 bit) This call makes the Teststand sequence editor stop working. I guess (?) that the reason Miss dll as follows

    My system

    • Windows 7 64 bit

    • Testand 2014 SP1 (14.0.1.103) 64-bit

    • Version 14.0.1.103 sequence editor

    In the analysis of Dependency Walker modelsupport2.dll , used in the DetermineReportFilePathNameExpr call, I see the following dll lack on my system:

    • API-MS-WIN-APPMODEL-RUNTIME-L1-1-0. DLL

    • API-MS-WIN-CORE-WINRT-ERROR-L1-1-0. DLL

    • API-MS-WIN-CORE-WINRT-L1-1-0. DLL

    • API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0. DLL

    • API-MS-WIN-CORE-WINRT-STRING-L1-1-0. DLL

    • API-MS-WIN-SHCORE-SCALING-L1-1-1. DLL

    • DCOMP. DLL

    • IESHIMS. DLL

    How can I get these DLLs?

    Best regards

    Hey Rainman.

    TestStand comes with the source code of modelsupport2.dll. It is located in the directory of TestStand components:

    32-bit: C:\Program Files (x 86) \National Instruments\TestStand 2014\Components\Models\TestStandModels\modelsupport2

    64-bit: C:\Program Files \National Instruments\TestStand 2014\Components\Models\TestStandModels\modelsupport2

    You can compile it if you have the CVI on the system. Otherwise, you can at the very least still look .c files and see what is happening in the code.

    For this particular function, it seems that we have changed it over the years. The new version of the function is DetermineReportFilePathNameExprEx2 and has more than two parameters: processModelClientPath and uutPartNum. If you create a new model of process from scratch, it's the call, so you must use your process template is more stretch if you decide you need this information.

    Try the DetermineReportFilePathNameExprEx2 and switch the values for processModelClientPath and uutPartNum. If it still causes TestStand hang, then I would recommend building a debug DLL to see the line of code where this occur.

    Edit: Also try passing an empty string or a value ' " for uutStatus. Nothing can be a problem. I do not expect to be a problem because TestStand converts this value to a point of value Null of appropriate architecture, but it should be test.

    Thank you

    -KP

  • Loading of a DLL on RT: Missing Export "DecodePointer" "Kernel32.dll" and 7 error when calling the DLL

    Hi, I recently changed to Visual Studio 2010 and Windows 7 64-bit.

    I have an existing Office RT system running RT 2009.  This system calls a DLL that I already built using Visual Studio .net 2003 and Windows XP.

    Since I've recompiled the DLL I get an error 7 file not found error when I call the RT DLL, even if I simply replaced the old DLL with a new one in the file system so the path has not changed.

    I also noticed that the message on the screen connected to the RT system during startup:

    "achieveworldpeace.dll" load error: lack of export 'DecodePointer' of ' Kernel32.dll'.

    Any ideas on this problem?  It is perhaps as simple as a switch in the compiler?

    Thank you.

    I'm not sure it's a simple switch in the project settings in Visual C. The problem is clearly in the standard C runtime library that gets linked to your DLL and refers to exports of Windows which are not available on the RT system. Don't forget that the RT system is a limited Win32 API emulation.

    I usually avoid these problems using Visual C 6 to create DLLs for LabVIEW projects. The standard library of the C runtimes will not know what Windows API reference more recent exports because they have supported even under Win95. So unless your explicitedly reference code not supported RT APIs you wouldn't have problems. If you do not use the standard C file i/o functions and management of memory in your DLL functions, you can also try to link statically C runtime libraries in your DLL, or vice versa depending on what you have now. It may or may not work. Otherwise there is not much else but by using an earlier version of Visual Studio.

  • VI does NOT open in LV2011 SP1

    Hi all

    Currently I am bearing all my code LabVIEW of LV 8.5 to SP1 LV2011. I have a lot of these files to upgrade and the majority of them at very good level. Maybe among 300 cases, I have two files right now that I can't open in SP1 LV2011 and save it with this version of software. It does not give me any error message, nor do the front panel. All of this, it starts to load and when it finally compile and open the front panel right there, it's just sitting there and finally LV hangs and I have to close LV with force. I even tried to make a compilation of mass but without success. It seems that it cannot compile the file entirely if I come back and you try to open these two files in LV8.5 I can open these two files very well without any problems.

    I read a lot of posts on this forum jump to find a solution, but unfortunately without success.

    I would be really grateful if someone could give me some tips I can try. I would not repeat these two files, because they are large files and hope to find an easier way to get them to open in LV2011 SP1.

    Thank you

    Here are a few things I've tried (in no particular order) in the same circumstances:

    1. Open the VI in 8.5.1, go on the diagram, select, copy, paste it into a new sub - VI. Rewire the con pane, record and try to open it in 2011
    2. Systematically remove portions of the VI (make sure that you have a backup), save and try to open in 2011, most likely, you will find a Subvi special or node that causes his failure. Sometimes simply replace this node with the same node it will fix.
  • DLL crashes LabView 2013 Pro, but good to EXE

    Hello

    I started having a problem older "degenerate." I had a previous post about a dll which plays a role of interface between a program running under Windows and LabView. The details are here:

    http://forums.NI.com/T5/LabVIEW/installed-program-no-Comm-with-driver/m-p/2659765/highlight/true#M79...

    Note that this isn't a double post, I just mentioned my recent problem there, when he was not that common.

    (http://forums.ni.com/t5/LabVIEW/installed-program-no-comm-with-driver/m-p/2662503/highlight/true#M79...

    Today - unknown reason - after a win system restart I can not run my development environment LabView code. When I run the main VI, it blocks all of the LabView environment during the first call of dll. This problem we had before also, but the 2nd of the 3rd test he ran OK. Today, I tried like 30 times, too many system restart. The native software spectroscope works very well too.

    Strange, if I run the exe to build, everything works fine. The problem appears only when I run LabVIEW. There is no error code, only a window appeared the first time, as I can send the error report to NOR. I can dig into some logs tomorrow at the lab, I just need to know where I can get.

    It seems that someone has also experienced similar behavior with external dll call:

    http://forums.NI.com/T5/LabVIEW/problem-DLL-crashes-LabVIEW/m-p/2562667/highlight/true#M773565

    "In the application resulting (Exe), it seems to work very well."

    What is the difference between when the dll is built in the exe file, and when it is executed from the LabView dev environment?

    Thanks for any idea and help!

    (if nothing helps, I just re - build the exe after changes to the program, but it slows down some coding)

    The last time, we have no comments from the company that created this dll, I'll try to contact again...)

    Hello

    you said that you have read the discussion in the following link:

    http://forums.NI.com/T5/LabVIEW/problem-DLL-crashes-LabVIEW/m-p/2562667/highlight/true#M773565

    Are you facing exactly the same problem?

    If Yes, then there is not much we can do. LV is an access contradication with your included DLL unless you have access to its source. You do not experience these problems with the exe since that only works on the run-time engine while the LV environment executes the code in a different way (why LV reserve this special memory on which your DLL is also trying to access.

  • DirectX SDK - CreateEffect E_NOTIMPL - Windows-Shell-DLL crash

    Hello

    I win 10 x 64 and I have installed the DirectX SDK.

    I need to run the example FF Const, to test the Force Feedback on my wheel.

    The following function returns "E_NOTIMPL".

    If (FAILED (hr = g_pDevice-> CreateEffect (GUID_ConstantForce,
    eff, & g_pEffect, NULL)))

    {
    Back at the time;
    }

    Shell-Windows-DLL crashes, if I want to read a ffb effects on control of drive of the navigation panel.

    So I think there must be something wrong with the sdk!

    Can someone help me?

    Friendly reg.

    Spy-Shifty

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Sims House Party, the installation program starts, then immediately closes, gives me the error "0 x 80040707 - call function DLL crashed: SORTS." PathGetSpecialFolder.

    original title: error number: 0 x 80040707
    When I try to install the Sims House Party, the installer launches and then immediately closes, gives me the error "0 x 80040707 - call function DLL crashed: SORTS." PathGetSpecialFolder.

    According to the compatility of Windows 7, the House Party is compatible under 64-bit and 32-bit Windows 7. I tried to install it on another computer running Windows 7 32 bit and the error does not occur.

    I am running Windows 7 Professional 64 bit.

    Looks like that method 1 solved my problem.  Normally, I would get this message several times a day.  For more than 3 hours I applied the method 1, and the error has not appeared again.  Thank you very much.

  • W2K & Flash install - SetDllDirectoryW is not found in the KERNEL32.dll dynamic link library.

    fully patched W2000 SP4 - try to install or update flash adobe gives "the procedure point SetDllDirectoryW entry is not found in the dynamic library KERNEL32.dll." said ths for both FF and IE versions of the flash Installer... it just started recently... at least since the beginning of 2012... mcafee or norton stuff has never been near this box... This is (vascular) limited to install or update flash...

    NOTE: had to choose ' Other/unknown' for windows option version in these forums, because some spark deletion of the option "Windows 2000":? :(

    I'll just post a link to workarounds to the case where someone else wants:

    http://forums.Adobe.com/thread/965334

    Because Windows 2000 is out of support and has had no updates Microsoft security since July 2010, I'm puzzled why people are so concerned about having a Flash Player update. The exploits are likely to be totally confused.

Maybe you are looking for

  • Satellite A30 - does not start after the RAM to level

    Hello I recently installed a crucial for memorymy laptop, which is a Toshiba Satellite A30. However, when I try andrestart the laptop, he tries to restart the fan turns on then turns off with a beep sound and this is noteven to get to the Toshiba sta

  • Chart axes assignment: performance difference between ATTR_ACTIVE_XAXIS and ATTR_PLOT_XAXIS

    Hello I use a graph xy with two x axes and the two axis of ordinates. There are two possibilities when you add a new record: (1) PlotXY and SetPlotAttribute (, ATTR_PLOT_XAXIS,); (2) SetCtrlAttribute (, ATTR_ACTIVE_XAXIS,) and PlotXY I tend to prefer

  • External triggering of GigE camera

    Hi, I'm planning on using the camera triggers the entry to start capturing images but I'm not sure what I need to do in my c# application when a trigger has launched. -If the trigger is coming from the PLC, should I also send a trigger signal to the

  • Delays only some sites such as Facebook. MSN

    I want to put a time limit on certain sites only so that my children are able to access sites like facebook, msn, chat lines of yahoo for only a few hours a day but still have access to other sites during this period that they could use it for their

  • Delivery Status Notification

    I have a mailbox that is overloaded with mail postmater. Who and what is this to cramming.