VS2012: v110_xp 11.0\VC\include\sal.h __useHeader redefinition when editing resources
We have a project that we have brought forward from VS 8.0 through VS 10.0 to VS 11.0 and wish to maintain Windows XP support so we have the Platform Toolset on v110_xp.
Every time I attempt to edit a resource by expanding the PROJ.rc node in the Resource View, this error is displayed:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\sal.h(2872)
warning RC4005: '__useHeader' : redefinition
[OK] [Edit Code]
OK loads the resources, Edit Code appears to do nothing.
Searching in Visual C++ Include Directories I find that __useHeader is defined twice in that file (the second is on line 2867) and twice in "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include\sal_supp.h(26 & 57).
If I change from v110_xp to v110, the VC++ Directories > Include Directories > Inherited values change from including $(WindowsSdkDir_71A)include and $(FrameworkSDKDir_71A)include to $(WindowsSDK_IncludePath) and the error stops happening.
This makes me suspect that it is the sal_supp.h that is causing the error.
Are others seeing this? Has anyone found a solution that keeps my current development environment and Platform Toolset?
Yes, its bad that how many 1000s of us VS users have to hand edit it rather than 10 mins of one MS developers time.
I stuck them just before the offending defines;-
around about line 2873 in sal.h on VS 2012 upgrade 1.
// [ADY] Workaround for MS VS bug. Added 3 lines;-
#ifdef __useHeader
#undef __useHeader
#endif
#define __useHeader _Use_decl_anno_impl_and line 2890 ish;-// [ADY] Workaround for MS VS bug. Added 3 lines;-
#ifdef __on_failure
#undef __on_failure
#endif
#define __on_failure(annotes) _On_failure_impl_(annotes _SAL_nop_impl_)
Similar Messages
-
Including sales reqirement in OPJJ
Dear Experts,
What is the use of the indicator ' Include sales reqmts ' in the availablity check control . If this get activated , will it consider the requirement of other sales orders during availabilty check of a material in a production order . Please explain the functions and implications of this indicator .
Thanks.Hi,
The indicator 'Include sales reqmts' Specifies whether, during an availability check, the system takes into account the requirements generated by existing sales documents (sales orders, for example).
For eg, If you have a sale order for a component which is an item line in the production order, The system considers this sale order during availabilty check. If the quantity in production order is 10 and the available stock is 10, then there will be no shortage of materials. however, if there is a sale order for the component sat 5 qty, the system will consider this and issue a material shortage log.
Hope this clears your doubt.
Regards,
Pradeep. -
How do I include a drop shadow effect when I import an Illustrator vector into Edge Animate?
How do I include a drop shadow effect when I import an Illustrator vector into Edge Animate? It should be noted that I also have another effect (an extrude & bevel) applied which does copy over when I paste (or create an SVG and import) into Edge Animate. Any thoughts on why the drop shadow disappears but the extrude & bevel carries over?
Which version of Illustrator are you using?
In earlier versions of Illustrator it is not that easy to apply drop shadows with spot colours.
Another reason why it's always important to tell which version of AI … well … -
How can i include css in html file when exported
I want the CSS should be included in the html file when exported, how is that posable?
Muse follows its own structure and keeps HTML, CSS and JS code in separate files as and when possible. If you want all that code to be merged into the HTML file itself, then there is no option to force Muse to do that. You can however, add your own CSS code into the HTML page by adding the CSS using either the Insert HTML option or using the HTML for <head> option in Page Properties > Metadata.
Cheers,
Vikas -
I am trying to make a signature in MS Word (2007) which includes a jpg image, but when I save it as a HTML file and attach it the text appers OK but the image doesn't. I have tried various formats but still no luck. Can anyone help? edit
C'mon! Anyone???? I'm desperate!
-
Query can't include an "ORDER BY" clause when having column heading sorting
I'm getting the following error when I try to include "ORDER BY" in my sql statement :
"Your query can't include an "ORDER BY" clause when having column heading sorting enabled"
I have used other sql statements with "ORDER BY" but this is the first time I have come across this and I don't understand why it's going wrong. Does anyone have a suggestion as to how I could fix it? Here is one of the sql statements which I have tried which is giving me the error:
select "ID_NUMBER",
"PROJECT_NAME",
"PROJECT_TYPE",
"OWNER",
"PRIORITY",
"STATUS",
"END_DATE",
"COMMENTS"
from "PROJECT"
WHERE "STATUS" != 'Completed' AND "STATUS" != 'Cancelled'
ORDER BY "END_DATE"
Regards,
Ed.You must deselect column heading sorting that is in the page "Report Attributes" .This is a check box placed on the same line of the element of the report.
bye -
Is Oracle Streams included in Oracle Database 10g Express Edition?
Hi,
A short one - is Oracle Streams included in Oracle Database 10g Express Edition?
Thanks,
DagHi, I'm using Oracle Express in my Client System End. I want to know how we can replicate the data from server to client and server to client.
My Client DB : Oracle Express
My Server DB : Oracle 10G.
When the client is connected to the server I want to Syncronize all the Data from Client to Server and Server to Clinet.
Some of the Experts are telling to use Materilized View or Replication. Which one to use and How to use.?
It will be helpfull if I get a logic to do this Data Syncronization Process. -
What is included in the Student and Teacher Edition? I launched Lightroom 5 and received a notice of updates. When follow the link to the "update" I get to links that look like "upgrade" for a fee. I want to know if the three functions in the subject are updates or are they upgrades for a fee?
Moving this discussion to the Photoshop Lightroom forum.
-
Why does IBA not include the table of contents when exporting to PDF?
Why does IBA not include the table of contents when exporting in PDF? I can seee the TOC in iBooks Author but when I want to see what it looks like in a regular PDF, the TOC does not show up.
Strange question you ask here. Not sure why that is relevant to "why" IBA won't publish a table of contents in a PDF.
But since eyou asked, it's simple, I want to author some books in IBA and also see what they look like - completed - in PDF. Again, any suggestions as to a work around so I don't have to cut and paste back into Pages? -
To include sales order/ production order characteris in COOIS
Hi,
We are using Variant configuration in our project.
In COOIS transaction, we need to include the sales order/ production
order (configuration) characterisitcs in the output screen.
We may need around 20 characterisitcs from sales order/ production
order to be displayed.
Kindly help us on how to add these fields.
Also,we are looking for characteristics in input selection screen of
COOIS.
Thanks & Regards,
Atul.Hi
See these notes
SAP Note 615206 - COOIS: BAdI order delay in IOHEADER
SAP Note 806375 - COOIS: Order delay Business Add-In in IOHEADER
SAP Note 615176 - COOIS: BADI for predecessor status
SAP Note 434123 - Filling and displaying own fields in information system
SAP Note 363327 - COOIS/CO26/CO28: Change list of fields that can be displayed
I hope this helps you
Regards
Eduardo -
Abap Report including sales orders and delivery data.
Hi Experts,
I Want to develop a new abap report which would contain the data for sales orders and delivery.
I want to fetch all the sales orders based on the ship date (LIKP-WADAT_IST) of the delievry.
Could anyone please let me know how to fetch teh data or is their any function module which would help me to solve my problem.
<Removed by moderator>
Thanks,
Komal.
Moderator message : Spec dumping not allowed. Thread locked.
Edited by: Vinod Kumar on Aug 10, 2011 1:25 PMpost this in ABAP forum for quicker response.
Regards
Raja -
How to include Sales Office and Sales Group into FI report?
Hi,
I have a requirement to add Customer characteristics u201CSales Groupu201D and u201CSales Officeu201D into a FI report which is based on the InfoCube 0COOM_C02. The values that needs to be presented is actual data (Customer Master Data; NOT transactional value.
In the DataSource u201C0COORDER_ATTRu201D, fields Sales Organization and Sales Group are present and it is brought to BW from R3. But I am not able to find the way to get the field Sales Office into SAP BW.
I checked the extraction program for the DataSource u201C0COORDER_ATTRu201D, the fields Sales Org and Sales Group are coming from a table u201CCE41000u201D but in this particular table there is no Sales Office present.
So can anyone guide me out in getting the Sales Office to the DataSource u201C0COORDER_ATTRu201D, or is there any way of getting it in BW directly by reading some Master Data table.
Thanks in advance
PrasapbiHi Sangeeta,
As per your statement, my understanding is that the Organization Attributes are not maintained in the Customization. If all the values are properly maintained then based on the Organization Data determination, the system would have picked up the data. You can first check the Organization Structure and see all the attributes are properly maintained or not and then check whether the Object Permitted in determination checkbox is checked. Then create a Transaction and see that all the Organization data are getting filled properly.
Have a look at the following link for a complete guide to the Organization data determination customization.
http://help.sap.com/saphelp_crm70/helpdata/en/6d/5c1738453fde16e10000009b38f8cf/frameset.htm
If the Organization data customization is not meeting your requirements then you can have a second look at the development approach. Then we can have a look at the available Objects to get the desired functionality.
Hope this helps.
Thanks,
Samantak. -
Sales Analysis by Item Group (Monthly) - To include Sales Employee Name
Hi,
I have added Sales Employee Name in the Sales Analysis by Item Group (Monthly) report by A/R Invoices. I have added this under Repetitve Area Header0. However, the sales employee name showed in the preview is different than the criteria entered. It seems that the report only the first Sales Employee Name in the report.
Anyone have any idea? Thanks in advance
Regards,
MHThat is a good question. You have to find out any unique relationships between your Sales Employee and your sales analysis data if there is. Hope the help below can assist you:
Relate to
This option is relevant for special scenarios only and requires knowledge of SQL.
This field is used for retrieving data related to key records found in tables other than the table linked as default to the current print template.
A key record is a field used as a primary key in a certain table. This key record functions as the identifier of the record, and, therefore, it is required to retrieve any additional data related to it.
Following is an example:
e.g.If you need to print the name of a certain bank, which is not linked to the table used in the current print template, you must first create a Text field of Database source type using the required table and select a key record, such as Bank Code.
Then, you need to create an additional Text field of Database source type. Select the table again, select the required column (such as Bank Name), and enter the unique ID of the field with the key record in the Relate to field.
There might be two or more key records in the same table. In such a case, these two key records are both required for retrieving the data.
Identical bank codes are used in many countries. If you need to print the name of a specific bank, you need to link it to a relevant country, in addition to its relevant bank code.
You are currently working on a print template for Incoming Payments. However, you need to retrieve data (such as the business partner's bank name) linked to the key record Bank Code from the Bill of Exchange for Payment table, rather than from the Incoming Payments table.
In the Relate to field, select the unique ID of the field containing the required key record. In this example, this is a Text field of Database source type containing Bill of Exchange for Payment in the Table field and BP Bank Country in the Column field. The drop-down list contains the unique IDs of all the fields that are situated in the same area as the current field.
This link makes the system retrieve the Bank Code linked to the BP Bank Country field found in the Bill of Exchange for Payment table. -
Report which include sales order, material, qty, raw mat cost, sold gds cst
Dear All,
I want report which has to provide Sales order No, Material, Material Description, Raw material cost and Cost of sold goods.
Please suggest
RegardsHi,
VA05 return all the orders that are present under one customer.
It will give you customer number,material and material description etc...
But failed in other fields.
So you have to develop a Z report with the help of your ABAPer.
Regards,
Krishna. -
Sales analysis report differences when run by Sales Empl as opposed to Item
My client is running Sales analysis report and notices differences when run by Sales Employee as opposed to by Item.
I explained that:
When run by item, the report does not include service type invoices or non-inventory items.
When run by sales employee it DOES include service type invoices and non-inventory items.
Are there any other differences I should be aware of?
Does someone have a query I can run to prove this difference i.e...invoices for non-inventory items for a period? To prove where the difference comes from between the two reports?
ThanksYou may try this first:
SELECT S.ItemCode,
MAX(S.Description) as 'Item Description',
SUM(S.LineTotal) as 'Amount(LC)'
FROM
(SELECT T1.ItemCode AS 'ItemCode',
T1.Dscription AS 'Description',
T1.LineTotal AS 'LineTotal'
FROM dbo.OINV T0
INNER JOIN dbo.INV1 T1 ON T1.DocENtry = T0.DocENtry
WHERE T0.docdate >= [%0] and T0.docdate <= [%1]
AND T0.doctype = 'I'
UNION
SELECT T1.ItemCode AS 'ItemCode',
T1.Dscription AS 'Description',
-T1.LineTotal AS 'LineTotal'
FROM dbo.ORIN T0
INNER JOIN dbo.RIN1 T1 ON T1.DocENtry = T0.DocENtry
WHERE T0.docdate >= [%0] and T0.docdate <= [%1]
AND T0.doctype = 'I') S
GROUP BY S.ItemCode
This is by item type transaction only.
Thanks,
Gordon
Maybe you are looking for
-
Help I just moved my music files to a external hard drive and am using the new crappy version ( i know my opinion) of itunes and cant add the files to my libray it gives me the add file to library option but not the add folder to library option what
-
Can I install a Samsung 840 Pro 256GB into the new iMac late 2013?
Hi There, 1) Can a Samsung 840 Pro 256GB SSD be installed in the new iMac late 2013 model? (My plan is to remove the existing 1TB HDD and replace with the Samsung SSD) 1.1) I have heard somewhere, even though it will fit, Apple's logic board firm
-
My Iphone has trouble syncing. Its a hand-me down phone from another friend. I cannot sync my Iphone to another computer and when I try to sync with wifi, it says it is not able to sync and sync would resume when my "friends-pc" is available. The dev
-
How do I turn off the requirement to press control when using a function key
When using my wireless keyboard, it requires me to press controls to use the function keys (F3, F5, F70.) However, this makes it so some of my games controls won' work,(For example, in Minecraft I can't access the debug menu.) Is there any way to dis
-
Exporting to Camera from Canopus ADVC 110
My saga so far: I bought a brand new Canopus ADVC110 Advanced Digital Video Converter for use with iMovie 3.0.3 on my Macintosh G4. I can't understand hardly A WORD of the instruction manual, but with detailed questions and careful coaching from the