473,320 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

SAL annotations

Are they really making any impact on produced code?

for instance if you look at the code below, in assembly it does not produce
any check. And if you set an annotation on them, it should expectingly
produce an error but it does not...

void dotest2(__in PCWSTR test, __in DWORD* test2)
{

AtlTrace(L"lal lala la %s\n", test);

test = L"puk";

*test2 = 1234;

}

Mar 10 '06 #1
1 1802
Hi Egbert!
Are they really making any impact on produced code?

for instance if you look at the code below, in assembly it does not
produce any check. And if you set an annotation on them, it should
expectingly produce an error but it does not...


You must enabled the "/analyze" switch in your compiler setting!
Only if this setting is set, the sompiler will check the SAL annotations...

Greetings
Jochen
Mar 10 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Efy. | last post by:
Hello, The following problam description I did not need to write, I just copied from the groups from others which met the error and allways the thread was 1 artical the problem was never...
2
by: Charles L | last post by:
I am trying to find a link to the 'C++ Annotations' by Frank Brokken (I think Version 5.2.4 is the latest) that works because I've been unable to find one that does. Can anyone suggest anything? ...
0
by: Charles L | last post by:
Does anyone know if there is any Errata for 'C++ Annotations' by Brokken? Charles Leng
1
by: Moon | last post by:
Well, this is my first attempt at DHTML so I'm asking for some pointers, hopefully in the right groups, follow-up is set. I'm currently working on another translation of an english text and I'd...
1
by: Jonathan Gibbs | last post by:
I'm very new to xml, and struggling a bit.. I want to use an .xsd file passed to a windows application to define a dataset's schema, and also (if possible) pass other metadata associated with...
2
by: Rein Petersen | last post by:
I was wondering if anyone else had experienced a similar issue where it is possible to write xs:annotation elements to a schema (verified in the resulting document streamed to the filesystem) but I...
7
by: SideByEach | last post by:
I'm trying to read in a XSD schema with two annotation nodes defined. The schema seems to load fine but I cannot find the annotations. The schema is being loaded into a xmlschema object. When I...
6
by: Pavel A. | last post by:
How the code annotations ( __in_opt, __out, __checkReturn ... ) are supposed to work ? Are they part of the new MS C language (that's, real tokens understood by the compiler), or always #define'd...
4
by: Tony Lownds | last post by:
(Note: PEPs in the 3xxx number range are intended for Python 3000) PEP: 3107 Title: Function Annotations Version: $Revision: 53169 $ Last-Modified: $Date: 2006-12-27 20:59:16 -0800 (Wed, 27 Dec...
3
by: Sektor van Skijlen | last post by:
Is there any official proposal for annotations in C++0x? So far annotations have been "implicitly" used in many proposals as some (usually) free-form text enclosed in ] (for example, n2493,...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.