Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
3 rating:
 1.66 out of 5     Rate this Document

LabVIEW Application Builder Errors on Vista x64 with High Memory Enabled

Primary Software: NI Installers>>Deployment Framework
Primary Software Version: 2.5.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Professional Development System

Problem:

If you have enabled Windows High Memory Allocation on Vista x64 and the latest version of the NI Meta-Deployment Framework on your system is 2.6.1.X or lower, then LabVIEW Application Builder will fail with:

Error: Windows SDK function returned an error. (Error code -12)

This issue could occur on LabVIEW 8.6.1 or lower.

Note 1:  To determine the version of your Meta-Deployment Framework, check the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\Common\Installer\MDF\Version

Note 2:  Windows High Memory Allocation is enabled by setting the following registry key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"AllocationPreference"=dword:00100000



Solution:

This is a known issue filed under Corrective Action Request #167928.  To work around this issue, disable High Memory Allocation by setting the following registry key:


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]  "AllocationPreference"=dword:00000000



Related Links:



Attachments:





Report Date: 06/17/2009
Last Updated: 06/17/2009
Document ID: 4YGCK4H0

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit