programming vista so many unsafe functions

[Programming on Vista] so many unsafe functions!?

Hi, All We are developing application by C++ for Vista. but from the doc of Vista, it shows that there are so many functions marked with unsafe! even for widely used WinAPI functions, CreateMutex, CreateEvent, WriteFile and so on. if we want our application not to be marked as unsafe one, what should we do? not to use any of them?
Thank you.
Xiaowei

Why not do the application development on XP and follow all the principles necessary to create a true application that can be designated designed for Windows XP. Majority of XP applications can run on Windows Vista just fine. -- Andre Extended64 | http://www.extended64.com Blog | http://www.extended64.com/blogs/andre http://spaces.msn.com/members/adacosta FAQ for MS AntiSpy http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm
"Zhang, Xiaowei" wrote in message

Hi, All We are developing application by C++ for Vista. but from the doc of Vista, it shows that there are so many functions marked with unsafe! even for widely used WinAPI functions, CreateMutex, CreateEvent, WriteFile and so on. if we want our application not to be marked as unsafe one, what should we do? not to use any of them?
Thank you.
Xiaowei

Yeh - writing applications in Vista is pretty much the same as XP. Although you can do more things with specific SDK's and other technologies such as WinFX (Avalon, Indigo etc.), you can also install these components onto XP.
If you want to mark your applications as safe such as when you download something from the Internet and it says that it might be unsafe, consider getting a digital ID which you can get from Verisign or other places on the Net. Just do a simple Google search :o)
See this picture: www.zacknet.co.uk/app.PNG for a screenshot - I would upload it but I can't get it small enough to upload :o)
-- Zack Whittaker Microsoft Beta (Windows Server R2 Beta Mentor) » ZackNET Enterprises: www.zacknet.co.uk » MSBlog on ResDev: www.msblog.org » ZackNET Forum: www.zacknet.co.uk/forum » VistaBase: www.zacknet.co.uk/vistabase » This mailing is provided "as is" with no warranties, and confers no rights. All opinions expressed are those of myself unless stated so, and not of my employer, best friend, mother or cat. Let's be clear on that one!

Windows Vista

Topic:


Nick: