I get the following errors with CVI 2010. "sal.h"(17​06,15) Redefiniti​on of macro '__null'.

A project which was working with CVI 9.0 on XP does not compile with CVI 2010.
 I get the following errors with CVI 2010. "sal.h"(1706,15)   Redefinition of macro '__null'.  
doesnt work with CVI 2010 on on win 7 too.  
Could some one provide some insight into this please?  
Thanks
performance

You wild guess is correct.
The version of the Microsoft SDK that shipped with CVI 9.0 included a definition of __null that matched the definition that is in sal.h. You can find this definition in line 448 of CVI90\sdk\include\specstrings.h.
The version of the Microsoft SDK that shipped with CVI 2010 included a definition of __null that no longer matches the definition that is in sal.h. You can find this definition in line 575 of CVI2010\sdk\include\spectstrings_strict.h. This is why the CVI compiler complains when it finds the sal.h definition.
The SDK that ships with CVI has been customized to make sure that it works with the CVI compiler. But this does not include making sure that it also works with VC headers. In general, there's no way to guarantee that VC headers can be compiled in CVI, since these headers don't ship with CVI and cannot be customized.
In this particular case, you might get it work if you include sal.h before you include windows.h. But there are no guarantees.
Luis

Similar Messages

  • I get the following error when formatting a external hard drive. Partition failed with the error:  POSIX reports: The operation couldn't be completed. Cannot allocate memory

    I get the following error when formatting a external hard drive.
    Partition failed with the error: 
    POSIX reports: The operation couldn’t be completed. Cannot allocate memory
    I have a Macbook pro 13" A1278. I purchased it around december 2010. I have a HHD 3.5" drive desktop select II 1.5TB. I purchased it around Febuary/March 2011 to use with my Macbook pro. I formatted it and moved all my files to there, I got it so my macbook's hard drive wouldn't brake and I lose everything on my macbook.
    Is there any fixes?

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."

  • I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • Just recently I am getting the following error message when trying to access web sites. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" then I have to click ok. It is an issue with some plug-in?

    Just recently I am getting the following error message when trying to access web sites. I am using Firefox browser version 10.0.2. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" as the web site page is being displayed in browser winder. Then I have to click ok. It doesn't matter what web link/site I go to it happens. It is an issue with some plug-in?

    I have advised McAfee's product team of the problem and this thread, and they're looking into it now.

  • While installing adobe creative cloud , getting the following error msg " There seems to be a problem with the download process. Error code:201"

    while installing adobe creative cloud , getting the following error msg " There seems to be a problem with the download process. Error code:201"

    Creative Cloud Help / Error downloading Creative Cloud applications
    http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html

  • HT3275 Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  Could not complete backup to media share.  The network backup disk does not support the required AFP feat

    Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  "Could not complete backup to media share.  The network backup disk does not support the required AFP features."  What are AFP features and how do I get Time Machine to backup to my current external backup?

    This means that your NAS does not support the required encryption. Update your NAS to the latest firmware or ditch it and buy a Time Capsule (they are the most reliable when using TM).

  • When I attempt to sych with I tunes I get the following Error Message.  "Itunes was unable to load data class information from synch services. Reconnect or try again later."  How do I fix this?  This started happening after I updated to the latest version

    When I attmpt to synch my Iphone I get the following error message.  "Itunes was unable to load data class informationfrom synch services.  Reconnect or try again later.  This started after I uddated to the latest version of Itunes. What should I do?

    My iPods are working fine...this is just on our iPhone 3GSs....friend said his iPhone 4 was working fine with upgrade. 
    Tried: the winsock reset, uninstall/re-install of iTunes, shut the firewall down.  Even called Apple...and after 2 hours of being told that "I'm savvy and have done everything they'd recommend" still with no fix...
    Still:  Takes over 2 minutes (not hooked up to phone) to open Edit-Preferences-Device...and can't find any backups?!?!  Takes over 2 minutes to even open the phone to change spps, musice, books, etc....but won't let me do anything with contacts...wonder if this is what that error message is about (because I don't actually sync to an email program, I've just kept it all on the phone - mistake). 
    **banging head on table**

  • HT2305 When I am trying to update my iPad 2 via syncing it with my PC, I get the following error message: "iPad software update server could not be contacted." Any ideas?

    When I am trying to update my iPad 2 via syncing it with my PC, I get the following error message: "iPad software update server could not be contacted." Any ideas?

    Try rebooting your router and or cable modem. Unplug it/them for about 30 seconds and then plug back in. See if it works then. Reboot your iPad as well.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Starting in 2015 I get the following error when I try to import my photos. "The following files were not imported because they could not be read"  -DSC8416.NEF  I've been importing the same type of photos with no errors then 2015 came along and now I can

    Starting in 2015 I get the following error when I try to import my photos. "The following files were not imported because they could not be read"  -DSC8416.NEF  I've been importing the same type of photos with no errors then 2015 came along and now I can no longer import.

    The error message is misleading, the problem is that you need WRITE privileges added to the destination directory tree.
    Assuming you are using the "date" structure that LR defaults to, find the directory that contains the 2014 folder (the one that works) and add WRITE rights to the parent of "2014".
    While you are there, if you want, add "2015" folder to beside "2014" and add READ and WRITE rights to that new directory.

  • After reformatting my 1 Tb WD ext drive and tinkering with the "exclude these items" list, I now get the following error message from Time Machine:Are you sure you want to back up to the same device your original data is on? the WD disk has mounted??

    After reformatting my 1 Tb WD ext drive and tinkering with the "exclude these items" list, I now get the following error message from Time Machine: "Are you sure you want to back up to the same device your original data is on?"  I've reformatted in Disk Utilities...not sure what I did wrong.  Any help would be appreciated.

    Not sure what you mean by "booted" from it.
    If the Mac OS is installed on the external drive, then it's possible to start up from it, just as you do from your internal drive. Please open the Startup Disk preference pane in System Preferences, and verify that your internal drive is selected as the startup disk.
    Assuming that's the case, then it may be that your TM settings have been corrupted. Turn off TM, then move or delete the file /Library/Preferences/com.apple.TimeMachine.plist. Turn TM back on, recreate your settings, and try again.

  • When installing itunes 10 uding windows xp I get the following error: "There is a problem with this Windows Installerpackage. A program run as part of the setup did not finish as expected. Contact your sipport personnel or package vendor." - any ideas?

    When downloading itunes 10 in windows xp, I get the following error "There is a problem with this Windoes Installer package. Aprogram run as part of the setup did not finish as expected. Contact your support personnel or package vendor." - any ideas on how to proceed?

    using MSICUU2.exe didn't help me.  But,  the new replacement app did:
      http://support.microsoft.com/mats/Program_Install_and_Uninstall
    I fixed my problem like this:
    Here's the deal - 
    1.  can you install itunes via the APPLE SOFTWARE updater?
    I couldn't  so I downloaded ITUNES and tried to install it that way.   Hence  I got the same error hang as you.  Nothing worked,  (Multiple attempts at uninstall reinstall,  stopping of Services,  Reg cleaners  etc..)
    2.  If answer is NO to #1 you must fixe the APPLE SOFTWARE UPDATE Program. 
    OK  so I couldn't find a Download for this.   But:  if you have WINRAR,  open the ITUNES.EXE and extract the APPLESOFTWAREUPDATE.MSI file.  Execute the APPLESOFTWAREUPDATE.MSI separately.   And you will not be able to install it and have a similar issue as per your Itunes install.   This of course leads you to believe that the Itunes.exe  install is also installing all of these components including the applesoftwareupdate silently.   It must BOMB at that portion of the install and you are done. 
    3.  Your goal now is to get the applesoftwareupdate installed.   How do you do this.  Well -  here is what I did.
      a.  downloaded and RUN a PC  Installer FIX it tool from Microsoft.  This is a replacement for the older MSI fixer they used to use.
      http://support.microsoft.com/mats/Program_Install_and_Uninstall
    b. It will list programs to attempt to fix.
      choose  AppleSoftwareUpdate.msi
    c. Once it is done,  then reinstall apple program updater using
    AppleSoftwareUpdate.msi
    Finally it should install since the Microsoft tool appraently fixed corrupted installation files in your registry for this application.
    (Please note:  that I also disabled any apple related services such as BONJOUR or IPOD DEvice RUN:  services.msc to get there -  although this man not be necesarry.)
    Hence Launch this APPLE UPDATE SOFTWARE (Click the ICON in your Start menu)  it should list ITUNES
    select ITUNES from here and it will update.
    KEY HERE is to ONLY UPDATE APPLE Stuff via the APPLE SOFTWARE UPDATE program.  If that program is not working fix it.  Then Bingo.
    I am sorry to see folks having this problem for weeks.  
    APPLE,   Spread the word.  PC's can get corruption in the registry on your product should the update be stopped or computer shut off during an update.  etc...   Please improve your software updater program to check for invalid registry upon launching the app.  This will prevent people thinking it is an APPLE issue.  It appears to be a problem on your PC's registry settings for the APPLE Software update.
    Bruno Ricci

  • I tried to update my iPhone4's, but get the following error message:   iTunes could not back up the iphone "iPhoneName" because the backup was corrupt or not compatible with the iphone. Delete the backup for this iphone, then try again.

    I tried to update my iPhone4's, but get the following error message:   iTunes could not back up the iphone "iPhoneName" because the backup was corrupt or not compatible with the iphone. Delete the backup for this iphone, then try again.

    The solution will be found here, select your computer type and software.
    http://support.apple.com/kb/TS2529

  • I have been trying to publish my podcast to iTunes with no success – I keep getting the following error message

    I have been trying to publish my podcast to iTunes with no success – I keep getting the following error message
    We could not complete your iTunes store request. You do not have enough access privileges for this operation. There was an error in the iTunes store. Please try again later.
    New to all this and would really appreciate some help.
    Thanks in advance
    PS: I should say that I have an ITunes account - I have full permissions over the website etc. I am using Powerpress plug in on a wordpress site.

    My guess would be that you've fallen over a glitch in the Store, in which case all you can do is wait a bit and try again, but it is only a guess. Without being able to look at your feed it's not possible to say whether there might be a problem there.

  • How can I download itunes when I get the following errors...have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up..ituneshelper did not install correctly error 7

    How can I download itunes when I get the following errors  ..ituneshelper did not install correctly error 7..I .have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up.
    This has been a problem for 6 weeks now, I retry when I have time and patience and use my other laptop which is also Windows 7 and runs with no problem.
    Every attempt fails when all seems fine on the desktop and I try to log on to Itunes I get the errors.
    Any help greatly appreciated.
    billymac

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (If this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • With my new macbook I attempted to open an older spreadsheet and get the following error message:  "This spreadsheet cannot be opened because ti is too old.  To open it, save it with numbers '09 first"  So how does one do this when I only have ver3.1?

    With my new macbook I attempted to open an older spreadsheet and get the following error message:  "This spreadsheet cannot be opened because ti is too old.  To open it, save it with numbers '09 first"  So how does one do this when I only have ver3.1?

    Numbers 3.x can only open Numbers '09 and later.  You will need Numbers '09 to open Numbers '08 files.
    If it is a single file (or only a few) you can email me and I will open and convert then email back.  My email address is in the "Biography" of my profile.
    You may have Numbers '09 installed.  Look in the folder "/Applications/iWork '09"  if Numbers is in that folder launch it, open the file you tried to open, and save.  Then you should be able to open in Numbers 3.x

Maybe you are looking for

  • FAQ: Can I edit my photos in revel from the browser or android interface?

    Q: Can I edit my photos in revel from the browser or android interface? A: At this point (Feb 2013) you can not edit the photos in Revel unless you are using the Mac, iPhone, or iPad app version of Revel. We are continuing to add new features and int

  • On commit for mview refresh is not generated in DDL

    New design > relational > new table w/ single numeric column New Oracle 11g physical > new materialized view > on prebuilt table from above > Refresh Clause tab > select ON COMMIT action -- add a body for grins resulting XML in saved design: <?xml ve

  • BPM Collect Pattern:File to IDoc

    Hi, My scenario is File to Idoc. An invoice excel file will be sent by the vendor.The excel has a built in macro, which converts the excel to a csv file and file is placed in a file share server. *Logic of Macro: * There will be a button in the excel

  • IPhone4 pictures on AppleTV (2nd gen) have wrong aspect ratio

    Hello, I'm using AirPlay with an iPhone 4 and an AppleTV (2nd gen), my iphone pictures are displayed with a wrong aspect ratio (I mean really wrong aspect ratio, rounded stuff is showed "oval". Movies taken from my MacBook Pro are displayed correctly

  • HT201269 Messages

    I have an iPhone 5 and a friend purchased a Samsung Gallaxy S4 - my iPhone will not send her a message unless iMessage is turned off.  I cannot change the identification of her cell number from iphone to mobile