Error messages when I compile a Visual C++ 2010 project that includes the Atlcomcli.h file

Hello,
I am getting error messages when I compile a Visual C++ 2010 project that includes the Atlcomcli.h file.
The error messages are:
Error    1    error C2338: CVarTypeInfo< char > cannot be compiled with /J or _CHAR_UNSIGNED flag enabled    c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\atlcomcli.h
Search and found link to download hotfix KB982517. But no download available.
https://connect.microsoft.com/VisualStudio/feedback/details/613888/i-would-like-to-receive-hotfix-kb982517-or-make-this-available-in-the-downloads-section
Please help me to resolve this issue.
Thanks,
Gagan

I would have to ask: why are you using _CHAR_UNSIGNED? Is this really necessary? I have to admit that the fact that by default char in C++ is signed is an annoying fact, but most of us have just gotten used to it.
Have you tried the workaround
#pragma push_macro("ATLSTATIC_ASSERT")
#undef ATLSTATIC_ASSERT
#define ATLSTATIC_ASSERT(x,y)
#include <atlcomcli.h>
#undef ATLSTATIC_ASSERT
#pragma pop_macro("ATLSTATIC_ASSERT")
that is described in the link
https://support.microsoft.com/kb/982517?wa=wsignin1.0
David Wilkinson | Visual C++ MVP

Similar Messages

  • Unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    Hello chae84swangin,
    I recommend following the steps in the article below when getting an error message trying to install iTunes:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • It keeps giving me an error message when I go to download my purchases. I follow the directions and it just keeps giving me the same error. What do i do to get the songs

    It keeps giving me an error message when I go to download my purchases. I follow the directions and it just keeps giving me the same error. What do i do to get the songs?
    It just keeps telling me they were inturupted but i didnt so anything. I want the songs I paid for.

    Yes its been cleaned out, i have tried many different things to try an fix it but still nothing. i just can't understand how it can be working perfect 1 minute then not working the next minute.  seems to be a common problem with no real solution.

  • Why do I get an error message when attempting to download music into a project in Ellements 13?

    Why do I get an error message when attempting to download music into a project in Ellements 13?

    cornman30
    What computer operating system?
    And, where is the music coming from, iTunes? If so, that is a known problem with Premiere Elements (just about any version).
    The answer has been to convert the iTunes music to the wav version in iTunes.
    The following is the iTunes' document how to.
    iTunes: How to convert a song to a different file format - Apple Support
    Any questions, please do not hesitate to ask.
    If other than above, please supply more details to help us help you.
    Thank you.
    ATR

  • I have an iphone 4s and i keep getting an error message when ever i try to activate i have already restored the phone and it still will not work. any help would be greatly appreciated

    I have an iphone 4s and i keep getting an error message when ever i try to activate i have already restored the phone and it still will not work. any help would be greatly appreciated

    Activation issues are almost always the result of a device that has been hacked or jailbroken.  If that is the case, no support can be provided here.

  • Error message when launching PowerPivot Window using Excel 2010

    I have installed the latest version of Powerpivot on several of our workstations.  Some of them are running the application just fine and some of them are getting an intermittent error message when trying to launch the PowerPivot Window.
    We are running Windows 7 ENT 32bit with Office 2010 32bit
    The error message given is : An operation that uses the database driver could not be completed.   If the driver is a Microsoft driver, make sure the drvier file isn't damaged, and if it is, reinstall the driver by re-installing Microsoft Query.  
    You can then try again and it will work.
    In fact the majority of the time this error message won't appear.
    The application has been removed and reinstalled.
    When I checked event viewer i'm finding this error which I think is related
    The description for Event ID 1 from source MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted.
    Hello,
    It's just a guess: Power Pivot uses the MSOLAP = "Microsoft OleDB Provider for OLAP" and maybe that Provider is damaged on the machine. You may try to reinstall the Provider, you can get the installer named "SQL_AS_OLEDB.msi" from
    Microsoft® SQL Server® 2012 SP2 Feature Pack  =>
    ENU\x86\SQL_AS_OLEDB.msi (for 32 bit)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • HT201210 I get the follow error message when i try to update my Iphone on I Tunes "Could not update file because firmware file is not compatible

    I get the follow error message when i try to update my Iphone on I Tunes " fireware is not capatible 2

    got an anti virus that thinks it should scan email. Turn that function off.
    Have a firewall, check that Thunderbird has full internet access, not some Auto rubbish that somehow fails.

  • I keep getting an error message when I try logging into i-tunes, what can be the problem?

    I keep getting an error message when I try logging into i_tunes, what can be the problem?

    Can you say what the message is?

  • I am continually getting this error message when trying to up-date software for: iTunes and iPhoto:The operation couldn't be completed. (NSURLErrorDomain error -1012.)

    I am continually an error message when trying to up-date iPhoto and iTunes. Does anyone have any suggestions, please?

    Hello Linc. These are the logs to the last attempts at up-dating iTunes.
    Sep  8 18:10:59 iMac.local Software Update[1722]: SoftwareUpdate: Scan for client pid 1722 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:11:02 iMac.local Software Update[1722]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:11:04 --- last message repeated 1 time ---
    Sep  8 18:11:04 iMac.local Software Update[1722]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7fd9a8cfae70 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:11:04 iMac.local Software Update[1722]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Sep  8 18:11:17 iMac.local Software Update[1722]: SUAppStoreUpdateController: proceed with scan based on intervening install (including Unity Web Player at 2013-07-23 17:32:38 +0000) (last scan: 2013-03-11 16:00:20 +0000)
    Sep  8 18:11:17 iMac.local Software Update[1722]: SoftwareUpdate: Scan for client pid 1722 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:11:19 iMac.local Software Update[1722]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:11:22 --- last message repeated 1 time ---
    Sep  8 18:11:22 iMac.local Software Update[1722]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7fd9a98c2090 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:11:22 iMac.local Software Update[1722]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Sep  8 18:11:39 iMac.local installd[1728]: installd: Exiting.
    Sep  8 18:14:15 iMac.local Software Update[1751]: SUAppStoreUpdateController: found in cache: <none>
    Sep  8 18:14:16 iMac.local installd[1757]: installd: Starting
    Sep  8 18:14:16 iMac.local installd[1757]: installd: uid=0, euid=0
    Sep  8 18:14:16 iMac.local Software Update[1751]: SUAppStoreUpdateController: proceed with scan based on intervening install (including Unity Web Player at 2013-07-23 17:32:38 +0000) (last scan: 2013-03-11 16:00:20 +0000)
    Sep  8 18:14:16 iMac.local Software Update[1751]: SoftwareUpdate: Scan for client pid 1751 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:14:19 iMac.local Software Update[1751]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:14:21 --- last message repeated 1 time ---
    Sep  8 18:14:21 iMac.local Software Update[1751]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7f9391840bf0 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:14:22 iMac.local Software Update[1751]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Sep  8 18:14:22 iMac.local Software Update[1751]: SUAppStoreUpdateController: proceed with scan based on intervening install (including Unity Web Player at 2013-07-23 17:32:38 +0000) (last scan: 2013-03-11 16:00:20 +0000)
    Sep  8 18:14:22 iMac.local Software Update[1751]: SoftwareUpdate: Scan for client pid 1751 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:14:25 iMac.local Software Update[1751]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:14:27 --- last message repeated 1 time ---
    Sep  8 18:14:27 iMac.local Software Update[1751]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7f93904b5c00 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:14:27 iMac.local Software Update[1751]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Sep  8 18:14:36 iMac.local Software Update[1751]: SUAppStoreUpdateController: proceed with scan based on intervening install (including Unity Web Player at 2013-07-23 17:32:38 +0000) (last scan: 2013-03-11 16:00:20 +0000)
    Sep  8 18:14:36 iMac.local Software Update[1751]: SoftwareUpdate: Scan for client pid 1751 (/Applications/App Store.app/Contents/MacOS/App Store)
    Sep  8 18:14:38 iMac.local Software Update[1751]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com
    Sep  8 18:14:41 --- last message repeated 1 time ---
    Sep  8 18:14:41 iMac.local Software Update[1751]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x7f93904b7340 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}
    Sep  8 18:14:41 iMac.local Software Update[1751]: SUAppStoreUpdateController: scan (f=0, c=1, p=1, r=1) got error The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    Many thanks.
    Cropper100.

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • I get an error message when I compile the following.

    When I try to compile the following with Forte for Java I get an error
    import com.ms.security.*;
    import java.io.*;
    import java.net.*;
    import java.lang.Runtime;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.applet.Applet;
    import java.text.*;
    import java.util.Enumeration;
    import java.applet.*;
    import java.*;
    public class php extends java.applet.Applet {
    public void init ()
    private eector postResult()
    throws MalformedURLException , IOException
    URL url;
    URLConnection con;
    OutputStream oStream;
    String parameterAsString;
    byte [] parameterAsBytes;
    String aLine;
    parameterAsString = "x=2&y=2&z=2";
    parameterAsBytes = parameterAsString.getBytes();
    url = this.getCodeBase();
    url = new URL(url + "index.php3");
    con = url.openConnection();
    con.setDoOutput(true);
    con.setDoInput(false);
    con.setRequestProperty("Content=length",String.valueOf(parameterAsBytes.length));
    oStream = con.getOutputStream();
    oStream.write (parameterAsBytes);
    oStream.flush();
    BufferedReader in =new BufferedReader(new InputStreamReader(con.getInputStream()));
    aLine= in.readLine();
    while (aLine != null)
    System.out.println();
    aLine = in.readLine();
    in.close();
    oStream.close();
    The error message is
    php.java [22:1] cannot resolve symbol
    symbol : class eector
    location: class php
    private eector postResult()
    ^
    1 error
    Erros compiling php.
    Please help

    Is the postResult function supposed to return somthing (I don't see a return statement?). If not replace eector with void. If it returns something replace it with the type of the returned data wich might be Vector (mind the Cap).

  • HT1349 I am getting an error message when I try to open itunes on my desktop computer: "the folder "itunes" is on a locked disk or you do not have write permissions for this folder"...any ideas?

    I am getting an error message on my desktop when I try to open itunes: "the folder "itunes" is on a locked disk or you do not have write permissions for this folder"...Any idea what  I need to do to correct?

    Hi lvdmerwe!
    I have two articles here for you that should be able to help you troubleshoot this issue further:
    Trouble adding music to iTunes library or importing audio CD
    http://support.apple.com/kb/ts1387
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/ts1277
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Error Message When Attempting to Open a Portfolio of Projects

    "The description cannot exceed the maximum length of 400 kilobytes"
    When I click OK it returns me to all projects again rather than just the projects in the portfolio I have selected. What is causing this?

    Hello
    The error message that is described is caused by corrupted user preferences (     Error: "The description cannot exceed the maximum length of 400 kilobytes" when opening Projects or Portfolios. (Doc ID 907406.1)) you can solve the issue by deleting them or create a new user in order to avoid the error, please refer to the following note for the solution
    How To Delete A User's Application User Preference Settings (Edit, User Preferences) If The Account Has Become Corrupted In Project Management Or Web Access (Doc ID 894279.1)

  • Why do I get an error message when trying to open PE 8.0 projects with PE9.0?

    I am trying to open a project in PE 9.0 that I made with PE 8.0. Each time, and with different projects, I get this error message:
    "Projects created with Adobe Premiere Pro and Adobe Premiere Elements are not compatible. Please use apropriate application to open this project."
    I have never used Adobe Premiere Pro nor is in installed on my computer! I updated my PE 8.0 with the patch that came out last year.
    My Operating System is Windows XP Pro, Service Pack  3, system specs are SATA 2 RAID 1 with dual 1 TB hard drives. 4 GB RAM. I have an Intel Core2  processor Q6600 (2.4 Ghz, 1066 FSB) with Quad Core technology and 8 MB cache, 4  GB DDR2 SDRAM at 800 MHz.
    My hard drive has been defragmented and have 779 GB or 83 percent free space.

    Can you create a test Project in PrE 9 and does that work. If so, close that Project and then Open it again in PrE 9.
    It could be as simple as your PrE 8 Projects just not Opening in PrE 9. There is often forward compatibility, but not always. It is usually best to finish Projects in the version, in which they were started.
    Good luck,
    Hunt

  • I keep getting an error message when trying to connect to sync on my Android saying the user name and password are invalid.

    I am using Firefox 4.0 Beta 7 on both my Android as well as my laptop. I am trying to set up the sync feature and keep getting the error message on my Android saying that the username or password are invalid. I have tried uninstalling and reinstalling, I have tried changing my password. I continue to get this error message.

    Can you try again with Firefox 4.0b8 (desktop) and 4.0b3 (Android)? We have changed the way that Sync setup works, and it no longer requires entering the password and sync key by hand.
    For details, see: http://blog.mozilla.com/services/2010/12/22/easy-setup-for-firefox-sync/

Maybe you are looking for

  • How to download all songs from my external drive into my itunes library

    I have enough Gbytes to not use an external drive for my music. How do I proceed to download all songs from the external drive on my internal drive?

  • Using my JVC BR-DV3000E DVR with Premiere Pro CS5

    I have been testing out the use of my JVC BR-DV3000E DVR (Digital Video Recorder) using a new PC running Windows 7 (64 bit) and Premiere Pro CS5.  The connection is via the firewire cable supplied with the device.  It worked fine on my original PC ru

  • How do I add calculating properties to the fields?

    Used a template on Forms Central and made some changes. Trying to add calculating fields to three of the text fields and one drop down box but can't find how to do this?  Have double clicked on the text or drop down box but the properties does not ha

  • XLST Transformation in JSF

    Hi Would appreciate a point in the right direction with transforming XML/XSLT from a JSF view usinfg TOMCAT and jwsdp-1.6. I can't decipher the stack trace java.lang.Illeg alArgumentException as being a bad invocation or bad file input or both. A cou

  • Ubd.exe - entry point not found

    This error has persisted too long - if it is related to iTunes Apple should have fixed it by now! Every time the computer boots up this error shows: ubd.exe - entry point not found The procedure entry point_Block_object_assign coudl not be located in