Comprehensive list of Visual C++ breaking changes in Visual Studio

Where can I find a comprehensive list of Visual C++ breaking changes in Visual Studio 2008 and Visual Studio 2010?
The list of breaking changes mentioned in MSDN is not exhaustive.
I would narrate a small incident where I felt the need of having such an exhaustive list.
A third party developer was using the older version of my application which is built in Visual Studio 2005. He was trying to build his own DLL using the API exposed by my application, but in Visual Studio 2010.
The API, unfortunately passes STL objects viz. std::string. We know this is
catastrophic and evidently the third party developer encountered run-time issues with his code- a crash during string manipulation.
After some digging I discovered that that the binary layout of Visual Studio 2005 std::string is different from the Visual Studio 2010 version.
For reasons best known to the third party developer, he was not able to move back to Visual Studio 2005 and insisted on using Visual Studio 2010. For the above issue I suggested him a workaround for std::string manipulations( create a new string class that
will emulate the memory layout of Visual Studio 2005 std::string).
Likewise, I would like to know all the changes (breaking changes) in Visual Studio 2008 and Visual Studio 2010 so that I can warn the third party developer about the use of the objects that have changed.

Of course it is even worse that what Mike said:  If you expose STL in your DLL interface, you have to impose a lot of other requirements on the consumer of your DLL (or provide many copies of your DLL each built a different way).  This includes
things like:
_HAS_ITERATOR_DEBUGGING
_SECURE_SCL
Debug versus Release
Static versus dynamic linking of the CRT
(Actually if the consumer is statically linking the CRT I don't know if you can make STL work at all unless you only use custom allocators as memory allocated by one instance of the CRT will be freed from the other instance of the CRT)

Similar Messages

  • Access sharepoint list form visual studio

    I am trying to access share point  site as data source in visual studio .I am getting below error.Please help me resolve this error.
    The HTML document does not contain Web service discovery information.
    Metadata contains a reference that cannot be resolved: 'http://cwfsp5/Content Management/Lists/Bookmark Definitions/AllItems.aspx'.
    The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.
    The remote server returned an error: (401) Unauthorized.
    If the service is defined in the current solution, try building the solution and adding the service reference again.

    var siteUrl = '/sites/MySiteCollection';
    function retrieveListItems() {
    var clientContext = new SP.ClientContext(siteUrl);
    var oList = clientContext.get_web().get_lists().getByTitle('Announcements');
    var camlQuery = new SP.CamlQuery();
    camlQuery.set_viewXml('<View><Query><Where><Geq><FieldRef Name=\'ID\'/>' +
    '<Value Type=\'Number\'>1</Value></Geq></Where></Query><RowLimit>10</RowLimit></View>');
    this.collListItem = oList.getItems(camlQuery);
    clientContext.load(collListItem);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    function onQuerySucceeded(sender, args) {
    var listItemInfo = '';
    var listItemEnumerator = collListItem.getEnumerator();
    while (listItemEnumerator.moveNext()) {
    var oListItem = listItemEnumerator.get_current();
    listItemInfo += '\nID: ' + oListItem.get_id() +
    '\nTitle: ' + oListItem.get_item('Title') +
    '\nBody: ' + oListItem.get_item('Body');
    alert(listItemInfo.toString());
    function onQueryFailed(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx

  • Cannot edit form in InfoPath when list was created in Visual Studio

    I am using SharePoint 2013 Enterprise, InfoPath Designer 2013 and Visual Studio 2013.
    When I create a list using the SharePoint UI, I can use the "Customize Form" button on the "Customize List" ribbon to customize the list form in InfoPath Designer and publishing the changes works just fine.
    When I create the same list in Visual Studio and deploy it via a solution package, I can still use the "Customize Form" button to customize the list's form in InfoPath Designer, but publishing the changes won't work. The error message I receive
    reads:
    The publish operation could not be completed. It cannot be determined if the form template was successfully published. Try publishing the form template again, or change the list settings to
    Catastrophic failure
    How can I solve this problem?
    Thanks in Advance!

    Hi Eduardo, this sounds like a data connection or SOAP issue. Check out the following links for solutions similar to your problem:
    https://social.technet.microsoft.com/Forums/office/en-US/ea8da113-fe9a-4878-9994-c1f24cc85c37/soap-error-when-publishing-infopath-form-to-sharepoint?forum=sharepointcustomizationprevious
    https://brenthafnersblog.wordpress.com/tag/infopath/
    cameron rautmann

  • How do i get SharePoint list as a data source in visual studio 2013

    In word add-in application,i have added the tree view as a custom pane.Now i wanted to load tree view from share point list.Could you please help to load sharepoint list from Visual Studio.

    Refer to the following posts, hope it helps
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b392871a-b504-4679-a724-f85deb602ed2/how-to-bind-sharepoint-list-to-wpf-treeview
    http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data
    --Cheers

  • Lookup column in sharepoint list column in visual studio

    Hi i have a list with two columns as student id and student name. in second list am
    taking one column as lookup and am giving reference to student name. but while inserting record in second list when am selecting student name and clicked save ,in second list i have to save student id not student name. (just like dropdown in asp.net data text
    field and data value field.) how can i achive this in sharepoint using lookup column and am creating the second list in visual studio.

    you need to create a  look up column on Name field in second list and a second look up column on the same field.
    then hide and show your fields in edit and display form based on your requirements .
    <Field
    ID="{886AF390-F68A-4B8A-9EC4-12108A11CC99}"
    Name="StudentName"
    DisplayName="StudentName"
    Type="Lookup"
    List="Lists/Students"
    ShowField="StudentName"
    PrependId="TRUE"
    Group="test">
    </Field>
    <Field
    ID="{599F97C5-564C-4DE5-BE4D-3A49DDC87FB5}"
    FieldRef="{886AF390-F68A-4B8A-9EC4-12108A11CC99}"
    Name="StudentId"
    DisplayName="StudentName:Trainer StudentId"
    Type="Lookup"
    Required="FALSE"
    ShowField="StudentId"
    List="Lists/Students"
    Group="test">
    </Field>

  • Visual Studio 2013 Premium Version numbers

    Hello, 
    I am looking for a list of Visual Studio 2013 with their version number. 
    I know that VS2013 with update 4 = PackageVersion 12.0.31101
    How can find out the packagenumber of the rest of updates: 
    None. 
    Update 1
    Update 2
    Update 3. 
    Thank you very much
    Amir

    @Amir,
    Well I'm afraid I'm also not able to help you fix this issue becasue I also not able to find those updates now. I will try if I can find them for you, please wait for my response.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Prevent Occurence of list header and page breaks in spool file of ALV Grid

    Prevent Occurence of list header and page breaks in spool file of ALV Grid  Display.
    When we run the ALV in background and create spool request then:
    Spool file output is coming like this.
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    But the required is like this
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    Please suggest a posible answer

    Hello all,
    if you have not yet solved this on your own, here is my solution: use a format type that has 60000 lines per page for your spool output device.
    It all depends on the format type that was used for creating the spool output.
    By default (in our system), we have 65 lines per page. And after each page the column headings of the ALV will appear.
    What i did:
    create a new format type via transaction SPAD->full administration->device types->format types (copy an existing one)
    change"Number of Rows" to 60000 or something applicable
    edit the device type of your output device (e.g. LOCL) to contain the newly created format type (via SPAD; Button "Formats" in device type maintenance).
    That's it! Be sure to use this format type for your output device in the "Background Print Parameters" window (-> Button "Properties").
    Regards
    Daniel Klein
    All other parameters you discussed before didn't do it. All ALV-Settings will be overwritten by the output device settings and its print properties.

  • Can't create a Content Type List Item on Visual Studio 2010

    Can't create a Content
    Type List Item on Visual Studio 2010

    Hi,
    According to your description, my understanding is that you want to select the specific content type in new item form.
    This is a default behavior. The "Add new item" link uses the default content type and does not display a dropdown list to change that value. This behavior is hard coded into the control and can't be changed.
    Here are some similar threads for your reference:
    https://social.technet.microsoft.com/Forums/en-US/de60f2a1-df91-4a67-a606-02a593c977b4/choose-a-content-type-when-creating-a-new-list-item?forum=sharepointcustomizationlegacy
    http://sharepoint.stackexchange.com/questions/13281/content-type-field-missing-from-new-form
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Error in getting the List Id in Visual studio Update Lsit item workflow activity

    Hi All,
    I am continuously getting this error 
    RequestorId: 65a82d7b-122b-b5ad-238b-3b7cde25c8aa. Details: System.FormatException: Expected hex 0x in '{0}'. at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument) at System.Guid.TryParseGuidWithHexPrefix(String
    guidString, GuidResult& result) at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) at System.Guid.Parse(String input) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor,
    BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation).
    I know that workflow not ale to get my list's guid at run time and  it is a bug which is yet not fixed.
    I have already tried changing
    System.Guid.Parse("{$ListId:Lists/MyList;}") with the list GUID 
    System.Guid.Parse("{75DD48E6-44D3-43B1-BD83-D836CDE04FB9}").
    and this blog
    sp2013workflows.blogspot.ru/.../lookup-activities-in-visual-studio-2012.html
    but still workflows not working.
    any other option can i try?

    Hi Alok,
    Thanks for sharing ! It will help others who stuck with the same issue !
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • How to fix picture display size in List view - AllItems.aspx in Visual Studio

    hi all,
    I want to fix/change the default display image in Visual Studio.
    I dont want via Content Editor WebPart or in SPD, I search to solution in Visual studio.
    In the List Schema.xml I have Field(Column) Type="URL" Format="Image" so far so good, now I add two more attributes Wdith and Height but this doenst work I mean dont have any effect. Here is the Field in Schema.xml
    <Field Name="Picture" ID="{6eeec5fa-ed6f-495d-9622-e5362e6925aa}" DisplayName="Picture" Type="URL" Height="150" Width="224" Format="Image" />
    if anyone have an idea or advice please tell me.
    thanks in advance
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

    thanks for you answer SK2014, I saw this article before but its not clear for me, maybe can you say samething about it ?
    or if anyone else has an idea is welcome and thanks in advance.
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • Flex Table Add Row Issue with Dynamic Entry Lists in Visual Composer

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • Crystal Report  not listed Add New Item for Visual Studio 2010

    I just finished installing cryestal report for visual studio 2010.
    During the installation a visual studio error dialog popped up "Operation cannot be completed. Access Denied", the crystal report installation continued and was informed that the installation was successful.
    But on opening my visual studio project to add new item,  crystal report item is not listed there.
    Is there anything that needs to be done to get it listed in the Add New Item dialog for visual studio?

    I wonder what file you ran to install CRVS2010? Was it the MSI as opposed to the actual install file?
    The link to the correct install is here:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe
    Is that the file you ran to install CRVS2010? E.g. as opposed to:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip
    - Ludek

  • Visual Studio 2013 is creating new feature every time new list definition is added

    We are using Visual Studio 2013 and details are as under:
    Microsoft Visual Studio Ultimate 2013
    Version 12.0.30501.00 Update 2
    We we add a new list definition in our project, it creates a new feature with it. If we delete the feature and add list definition in the existing feature, list is created but columns are not added in the list.
    Same thing happened if we rename "Feature1", a new feature is created every time a new list definition is created.
    This doesn't happen when we add a Visual WebPart.
    Also, we have three different custom list option in the drop down in new list creating wizard.
    Is this a bug or we are doing something different.   
    http://farhanfaiz.wordpress.com

    Intellisense has a bug in VS2013 where it doesn't recognize InitializeComponent when you start working on the XAML.  My feeling is that if you try to compile this app, it will run fine (as long as there are no actual errors).
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Since I upgraded to iTunes 11.01 the "Smart" playlists feature no longer works.  I can CREATE the list but, the songs that I have played don't accumulate in the list.  I haven't changed the steps that worked for me previous to the upgrade.  I have no idea

    Since I upgraded to iTunes 11.01 the "Smart" playlists feature no longer works.
    I can CREATE the list but, the songs that I have played don't accumulate in the list.
    I haven't changed the steps that worked for me previous to the upgrade.
    I have no idea how to fix this and can't find mention of anyone else having a similar problem.
    Any suggestions?

    Click on a station and drag to the left. The playlists sidebar will open up. Drop on the playlist you want to add to.
    tt2

  • Breaking change in MDAC ADODB COM components in Windows 7 Service Pack 1 (repost with MSDN liveID)

    As my MSDN subscription is connected to this liveID, I repost my question in the hope to get a faster answer:
    After I installed Service Pack 1 on my Windows 7 x64 Ultimate my applications which use MDAC 2.8 COM components for database access do not work on other Windows versions any more.
    I hunted this down to changed Interface IDs in the msadoxx.tlb files. On Windows 2008 R2 e.g. the IID of dispinterface _Connection is {00000550-0000-0010-8000-00AA006D2EA4} (defined in msdado28.tlb). When I lookup the same dispinterface on my Windows 7 with
    SP1 (RTM from MSDN) I see this IID {00001550-0000-0010-8000-00AA006D2EA4}.
    That means that all code produced on Windows 7 SP1 using ADODB cannot be run on any other version of Windows as the IIDs differ.
    The CLSIDs still match, so the COM objects get created but due to different IIDs they cannot be used.
    I really hope I am missing something as this change seems to be a massively breaking change in the MDAC API.
    To verify the error you can use code like this in VB6 or equivalent in VB.Net or C# and compile it on Win7 SP1 and run it on Win7 RTM or older versions of Windows:
    Dim cn As ADODB.Connection
    Dim o As Object
    Set o = CreateObject("ADODB.Connection") ' this does still work
    Set cn = o ' this errors when compiled on Win 7 SP1 and run on older versions of Windows due to the changed IID of the dispinterface _Connection
    Regards,
    SvenC

    Ok NEW Fix:
    ===================================================================
    ---- / start: getting around Trusted Installer / ----
    STEP 1) Change owner of  
    "%CommonProgramFiles(x86)%\system\ado\msado28.tlb" to administrator or whatever your current local user is... 
    Then close all security windows.
    You might have to change this registry setting in order to change the owner:  
    (although I'm not sure, I did though.)
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\TypeLib\{2A75196C-D9EB-4129-B803-931327F72D5C}
    Right click, Permissions, Advanced, Owner, Change owner to Administrators, Click OK, OK
    STEP 2) Back in the file properties, under Security, Change Permissions to Full Control for your new owner.
    ---- / end: getting around Trusted Installer / ----
    STEP 3) 
    Unregister it:
    Run C:\Windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12 -u "CommonProgramFiles(x86)%\system\ado\msado28.tlb"
    STEP 4) Copy in legacy msado28.tlb file (get this from a non SP1 Windows 7 Machine), i.e. overwrite the last one.
    STEP 5) Re-register the new one:
    Run C:\Windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12 "CommonProgramFiles(x86)%\system\ado\msado28.tlb"
    ** Now VB6 compiles from a Windows 7 SPK1 machine that reference MDAC 2.8 should work now automatically without changing anything in the project file or references
    Is there somewhere I can download the legacy msado28.tlb file since I have the only W7 machine in the organization?

Maybe you are looking for