Missing export kernel32.dll when using cvi 9.0 on win 64

Hi,
I just have a new computer (windows 7 64 bits) : PC 1 for short.
My old computer was a windows xp 32 bits : PC 2.
I compile my programs with CVI 9.0.
When I compile a program with PC 1 :
- the install works on PC 1 & PC 2
- the prog installed works on PC 1
- the prog installed doesn't work on PC 2 : Missing export ...... from 'KERNEL32.DLL'
Somebody has an idea?
Solved!
Go to Solution.

Hi,
if your program uses some functions from Windows SDK included in kernel32.dll, the program really depends on this library.
The problem is that for this reason CVI includes kernel32.dll when you build a distribution kit (on the target PCs you should find a copy of kernel32.dll in a subfolder of the one where you installed your application).
The problem is that CVI takes this dll from your development PC (Win 7) and your target PC (XP) can't work with this dll. Win XP has its own copy of kernel32.dll, but MS Windows Operating Systems load dlls from application folder before than from system folder.
And so, simply remove the kernel32.dll dependency and rebuild the distribution kit.
This is a general behavior of CVI and can bring to several problems. I've already reported this to NI, because Operating System dlls must not be included in a distribution kit. If the target OS lacks of some core dll, this is a severe problem, and it's not a situation that CVI can fix simply using some local copies of these dlls.
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

Similar Messages

  • Linked to missing export KERNEL32.DLL: SetProcessAffinityMask

    When running Oracle client 7 in Windows 95C PC, the following error message appeared:
         Error Starting Program
         The MGRQGNRC94.DLL file is
         linked to missing export KERNEL32.DLL: SetProcessAffinityMask
    How to solve it?

    Rename any MFC42.dll files other then the one in the windowssystem and reboot the computer. You have to boot with a system disk to do this. If this wont fix your problem than reinstall liveupdate.

  • Problem exporting to excel when using embedded web templates through WAD

    Using web templates designed with WAD, we are experiencing an issue when trying to export excel when using embedded web templates. 
    We have set up tabstrips within our templates that load other templates (embedded into the global template). 
    Upon right clicking on any query and choosing "Export to Excel", any query that is in one of the tabs using the embedded web template item does not show up.  Any queries in natively in the global web template will export and show up fine.
    Any thoughts on how to enable something like this, or workarounds to make this work?  We decided to split up these templates for performance reasons and can't go back from that decision.  Also let me know if you need a better explanation of what we're trying to do.
    Thanks in advance!
    Jonathan

    Hi SDBI,
    Is this in place of loading a new template per tab?  We are using container layouts in all of our templates so we can link things into tabstrips as well, we have just split up some templates to be embedded into tabs for performance reasons and data locking.
    Also when exporting, we are looking for all of the items displayed at that time to be exported, however only the items from the global template show up, not all of the displayed queries.  For example, anything outside of the tabstrip will export perfectly, but since the query embedded into the template the tabstrip is loading is not part of the native web template, it does not show up.
    Seems like a tool limitation to me when embedding templates?
    Thanks,
    Jon

  • OTF end command // missing in OTF data when using CONVERT_OTF_2_PDF

    Hi
    When using the function module CONVERT_OTF_2_PDF I am getting the strange scenario that for some users it is giving the error message "<u><b>TD 030: OTF end command // missing in OTF data</b></u>". 
    I am executing this function module using the OTF output data received from a smartform executed with the parameter control-parameters-getotf = X and I am not formatting it in any way.
    any assistance in this is much appreciated.

    hi
    good
    go through this link,which ll give you detail idea about this function module
    http://www.jt77.com/development2/programming-07636.html
    thanks
    mrutyun^

  • Get LNK2005 error when use cvi.lib in windows application VC++

    The typical error is:
    libcmtd.lib(fflush.obj):error LNK2005 _fflush already defined in cvi.lib(cvirte.dll)
    The errors do not occur in a console application.

    The libcmtd.lib is not my own library. It is VC++ windows library. There are some conflicts between cvi.lib and MS libcmtd.lib. The errors do not occur in console application. I used nivxi.lib in my windows application but the linker gave errors of lnk2001 unresolved external symbols which I found in the cvi.lib. So I also used cvi.lib. Then the linker gave LNK2005.
    My question is what libraries should I use to control vxi instruments in my VC++ windows application? In my application, I use functions such as initVXIlibrary(), closeVXIlibrary(), WScmd(), WSwrt(), VXIinReg(), etc.
    Attachments:
    vxitest.cpp ‏1 KB
    VXIDevice.h ‏1 KB
    VXIDevice.cpp ‏2 KB

  • Why are Image Export Sizes Doubled when using Save vs. SaveForWeb&Devices?

    Hi Folks
    Maybe I'm missing something here ...
    I have 2 versions of an action I use to batch process images. One uses the Save As dialogue and the other uses SaveForWeb&Devices. However, the image sizes created using the latter are about 50% smaller than those created with the former. The two actions differ only in the Save step - I duplicated the original and swapped the save step in the action.
    Is SaveForWeb&Devices usign a more efficient optimisation algorithm or am I missing something?
    The reason for using the Save As dialog is that Batch Processing is able to override the save location, whereas I had trouble overriding save location in a batch process which used an Action that Saved using SaveForWeb&Devices.
    Cheers
    Richard
    P.S. I also find this size doubling takes place when using the Image Processing script supplied with PS. I'm on PS5 on OSX10.6.8.

    SfW throws out redundant custom data, when the normal JPEG save does not. Using the normal save e.g. also retains clipping paths (10 years ago people used that al lthe time for print stuff) and of course also more info on color management, user metadata and what have you. Therfe may bne more specific optimizations in SfW, but that's something Mr. Cox can probably answer better...
    Mylenium

  • GetLogicalProcessorInformation missing in Kernel32.dll

    I have CS6 all downloaded and when i go to launch it i get an error right away wonderful eh? u.u Anyways it says this The Procedure entry point GetLogicalProcessorInformation Could not be located in the
    Dynamic link Library KERNEL32.dll  Plz tell me  what in the world this is i have to do before i get Photoshop rage =D thanks.lol.

    Try installing Windows XP Service Pack 3.
    It's listed as Recommended for DW (for Photoshop CS6 it's essential)
    http://www.adobe.com/products/dreamweaver/tech-specs.html
    I think is better you upgrade to windows 7, these are issue of escort incompatibility...

  • Rich Client For EJB asking for  'ioser12.dll' when using PortableRemoteObject.narrow()

    Hi,
    When using narrow down the object to home interface after performing lookup(), it gives error for
    'ioser12.dll' not found. If doing 'SomeHome someHome = (SomeHome)obj;' it's working fine.
    Regards,
    Jitendra Kumar

    Remove the j2ee.jar from your classpath and narrow will work.
    The correct version is in weblogicaux.jar.
    -- Rob
    Jitendra Kumar wrote:
    >
    Hi,
    When using narrow down the object to home interface after performing lookup(), it gives error for
    'ioser12.dll' not found. If doing 'SomeHome someHome = (SomeHome)obj;' it's working fine.
    Regards,
    Jitendra Kumar

  • Dreamweaver CC generates one of 3 error messages when using find and replace on Win 8.1 64 bit.

    Dreamweaver CC generates one of 3 error messages when using find and replace is used more than twice in succession. "While executing onLoad in bc_afterSave.htm, the following JavaScript error(s) occurred: At line 188 of file C:\Program Files (x86)\Adobe|Adobe DreamweaverCC|Configuration|Shared|BC\JS\bc_sites.js": out of memory"
    or
    While executing runCommand in File_Save.htm, a JavaScript erroroccurred.
    or
    While exciting getDynamicContent inAdressURL.htm, a Javascript erroroccirred.
    Any thoughts - I end up closing DWCC and reopening. Will work for two additional Find and Replace before the error messaged\s popup again.

    bkaufman43 wrote:
    Thanks Jon. I tried all of those solutions before posting. Same problem. It seems that the problem is tied to DWCC. Do not have the problem when using DW6 on Win8.1. When running DWCC on a Win7 pc, we get the same error message. When running DW6 on Win 7, f&c works fine. It seems to be a bug in DWCC. DWCC works flawlessly on our Macs.
    The same steps apply to DWCC, you just need to choose the CC folders rather than the DWCS4-6 versions that the page talks about. The layout of CC's folders hasn't changed from the older versions which is why, I think, Adobe hasn't updated the troubleshooting page as of yet.
    As Nancy mentions, a 38,500 page site is sort of ridiculously large for a static website, that could be part of the problem, but your response quoted above leads me to think you may have tried the troubleshooting steps in the wrong version of the program. Could you confirm that?

  • Error -17501 flxCVIadp.​dll when starting CVI full featured user interface on Windows 7

    We see the following error dialog when we launch the CVI full-featured user interface (TestExec.exe):
    "Error:
    Unable to load test environment adapter 'flxCVIadp.dll'. Run setup to re-install or remove this adapter.
    Could not connect to TSAutoMgr.exe server. DCOM permissions might be incorrect because of configuration changes for remote execution.  To fix this issue, ensure that the current user is in the default DCOM access permissions or that no users are in the access permissions section of the dcomcnfg.exe dialog box.  You can use the dcomcnfg.exe program, located in the Windows System directory, to change DCOM access permissions.
    Error code: -17501, Unexpected Operating System Error." 
    When this error happens, we can't run any calls to CVI code from within the User Interface.
    We are running Windows 7.  We don't see the error if we run TestExec.exe from the default location:
    C:\Users\Public\Documents\National Instruments\TestStand 2013\UserInterfaces\Full-Featured\CVI
    We get the error message if we copy the CVI directory to somewhere else on the C:\ drive (C:\MyUserInterface for example).  The error happens when we run TestExec.exe directly, but it does not happen if we are already running Labwindows/CVI and we launch TestExec.exe from CVI.
    We are seeing this error with both TestStand 4.2.1 and TestStand 2013 running on different PCs.  This error happens on Windows 7, but not Windows XP.  Though we get the same error with our custom user interface, we see the same error with the stock CVI full-features user interface provided by NI.
    Any ideas about why we can run this from the TestStand directories, but not any directory on our C:\ drive?
    Thanks,
    Peter

    Hi Peter,
    Based on the error messages it looks like this might be a Windows 7 security issue, which would be why it doesn't occur on XP since security is handled differently in that OS. Have you gone into dcomcnfg.exe and checked the DCOM permissions as described in the error message?

  • Drop shadow is not exported in pdf when used in a symbol

    When I apply the effect "drop shadow" on an object and export to pdf it works fine. When I then convert the object into a symbol and export to pdf, the effect is gone.
    Suggestiones other than "don't use symbols" ???

    No, I can't reproduce the Preview issue.
    Maybe it is caused by other options in your file.
    Anyway: Preview is in no way suitable to pre check files for printing.

  • What are analogous shared libraries that can be called using a call library function to user32.dll and lvtoolbox.dll when using Linux and Mac?

    I am wondering if anyone is familiar with how to get similar information with a LV program using a Linux shared library as well as the corrolate Mac library to the Windows user32.dll and lvtoolbox.dll.  I specifically am trying to get system metrics such as screen resolution information and cursor information as well as being able to set mouse position.   I am trying to convert a LV Windows program to these other operating systems and I am unfamiliar with these platforms.
    Thanks for your time - I really appreciate it.

    There is no simple answer to that. On Linux you will likely have to call into X Server, which would be a pain to do, due to various versions and implementations of that. On the Mac there would be the difficulty that you can't call into the native ObjectiveC API but would need to find a Carbon API or something like that to do what you want.
    If you seriously want to do something like this for multiplatform, you should bite the bullet and start coding an intermediate shared library in C. This library would export a LabVIEW friendly C API and access whatever system API you need to have for the particular functions. But multiplatform programming on this level is a pain in the ass, no matter what.
    Message Edited by rolfk on 04-21-2010 08:26 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Delay unloading Acrobat dlls when using Acrobat 9

    In our Java desktop application, we use Acrobat 9 to display a pdf file.
    This pdf is opened in another window. When the window is closed the acrobat dlls loaded are expected to close by itself so that the corresponding javaw process can close.
    The javaw process is not closing since the acrobat dlls are NOT closed automatically. It was found the dlls are unloaded after around 30 second.
    When tried with Acrobat 8 it worked perfectly.
    Has anyone come across the dll unload issue with Acrobat 9?
    Can you suggest a solution?

    Wrap the Adobe functionality in an executable.
    Manage that from your main java app via Runtime.exec/ProcessBuilder.
    Provide a communication interface so the two can interact.
    Your main app can exit at any time. The secondary app will exit after the delay without being visible to the users.

  • PDF Export - Group Trees When Using Sub Reports

    Hi
    I have a complex Crystal Reports 2008 report which links to various Sub Reports using a classic Master-Child relationship via the Sub Report Linking options.
    The report works fine but when I am Exporting the Master report to PDF and the Group Tree gets exported correctly for the Master but none of the Group Trees in the Child Sub Reports get exported. Unfortunately the report Preview doesn't show the Group Tree for Sub Reports either - I'm guessing that both issues are intrinsically linked.
    Does anyone have any ideas? Is this a bug or does Crystal Reports 2008 not support this?
    Regards
    A

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Blue Screen of Death when using CVI

    Hi,
    I am having the blue screen of death happening when I am using LabWindows CVI to control instruments. 
    I've been using Windows 7, Labwindows CVI/2013 and VISA to control the instruments. Also, there is an Agilent GPIB/USB interface connected to the computer. I've got two errors in the blue screen: PFN_LIST_CORRUPT and PAGE_FAULT_IN_NONPAGED AREA. 
    The .dmp files point to the Hardware Abstraction Layer and to a USB hub connected to the computer (the forum page did not allow me to attach them).
    Regards,
    Felipe Fideles

    Hi fideles, 
     I was taking a look at the errors you posted and some of them shows that there are certain files corrupted typically caused by a driver passing a bad memory, so I strongly recommed trying to reinstall the drivers that you are using to communicate with the device.

Maybe you are looking for

  • Microsoft Outlook to Mac Mail

    I would like to be able to read my Microsoft Outlook Inbox from work on my Macbook at home through Mac Mail. Is there an easy way to check my mail from home? It would be helpful on my days off to stay up to date with things.

  • Exchange rate type mismatch in the invoice

    Hi experts, When I am creating an invoice, invoice is picking up wrong exchange rate type MTR which is not at all maintained in the customer details. The sold to party is having the exchange rate type TR2. Can anybody please help on the issue.?

  • Java.text.ParseException:Unparseable date

    Whilst using the DBMS_XMLSave.updateXML procedure I am having problems parsing a date which is the format dd/mm/yy I have tried to use the following procedure to set the date format : DBMS_XMLSave.setDateFormat(updCtx,'DD/MM/YY'); Unfortunately it is

  • IMovie posted on my mobile me gallery plays upside down.

    This worked fine in earlier versions of Firefox and works in Safari.

  • I need to configure a dial up modem

    The high speed internet connection here is fiddly. Usually it works fine but then there are days where it fails repeatedly. I have a dial up modem that I have configured to work for another service, but it is slow with lots of garbage on the base pro