msdn

How do I calculate fps in a simple Direct2D app?

Hey guys, and thanks for looking. I have built the simple D2D app from MSDN, available here. Now, I want to draw some primitives and add an fps counter. I have an OnRender() event, where I draw the rectangles and so on. I also have a call to RenderTextInfo() where I call RenderTarget->DrawText. Where do I add the logic for counting the ...

Open source DMS's similar to Confluence or MSDN Library

Can anyone tell me of any open source, preferably PHP/MySQL, document management systems that are similar to: MSDN Library: http://msdn.microsoft.com/en-us/library/ms123401.aspx or Confluence: http://confluence.atlassian.com/display/DOC/Confluence+Documentation+Home ...

Where is the "LINQ to SQL Overview" video featuring Luca Bolognese?

Hi all, I very much like the said video on LINQ, as it is very instructive to newbies on LINQ and I often shared that link. However, the video is no longer available (as it was) via the following link: http://www.microsoft.com/emea/msdn/spotlight/sessionh.aspx?videoid=716 ,which is referred to from http://blogs.msdn.com/b/lucabol/archi...

Data types (types of data I think?)

I have just started learning C# and would have one question that I cannot find answer on. Maybe I am just searching something slightly different. Also on MSDN I found following: C# is a strongly typed language; therefore every variable and object must have a declared type. Data Types Overview. I am also reading a book for it an...

Sharepoint web service(UserGroup) addGroup function

I tried using the addGroup() web method from web service from userGroup web service offered by Sharepoint Server. As stated by MSDN, the following codes were required (using visual studio C# programming platform Web_Reference_Folder_Name.UserGroup usrgrpService = new Web_Reference_Folder_Name.UserGroup(); usrgrpService.Credentials= Sys...

int[] type and documentation

Hi, I'm puzzled about arrays in C#. I can't find any documentation on MSDN about for example the object double[]. I do find documentation about int, array, collections, ... but can't find out of what type double[] is. If I do double[] a = new double[10]; a.GetType(), I find that the type of a is System.Double[] I believe that the type ...

Question about default route

Hi all: I learn this reference from MSDN.The pic below is a network topology which i am going to use. And quotation from the reference: Web Client: The Web client is connected to the 10.0.13.0/24 subnet and uses the IPv4 address of 10.0.13.110/24, the default gateway at 10.0.13.1, and the DNS server at 10.0.47.91. The We...

Customization for Visual Studio 2008 that opens MSDN Help in a browser when hitting F1

The MSDN help isn't very helpful in that its startup time is long and that it quite often doesn't get you to the correct help file. I always end up opening MSDN in a browser instead. Is there some customization for Visual Studio 2008 that opens MSDN Help in a browser when hitting F1? ...

MSDN Library download?

I spend a lot of time offline, and while normally I'm in the middle of some book or magazine for work, I've recently been reading through the MSDN Library documentation of Visual Studio 2010 Application Lifecycle Management (aka TFS 2010). Unfortunately, this documentation doesn't seem to be included on either the Vs2010 nor the VsAlm2...

Why IOC is outdated according to MSDN ?

It is said here: http://msdn.microsoft.com/en-us/library/ff921087.aspx ...

ISO C++ and the infamous underscore

Possible Duplicate: Why is getcwd() not ISO C++ compliant? After searching for availability of execvp on Windows, particularly with VisualStudio, I've ended up with http://msdn.microsoft.com/en-us/library/ms235414.aspx ... However, it says I should use _execvp instead of execvp. GCC also seems to support _execvp. But what's t...

ASP.NET: How parallel requests are processed

Let's imaging there are 2 pages on the web site: quick and slow. Requests to slow page are executed for a 1 minute, request to quick 5 seconds. Whole my development career I thought that if 1st started request is slow: he will do a (synchronous) call to DB... wait answer... If during this time request to quick page will be done, this re...

Retrieving Local Resource Values correctly: GetGlobalResourceObject or .NET Control?

Hey guys, While developing I've seen a couple different ways to get local resources values from the resx files. Which one is considered the best practice? Using the GetGlobalResourceObject method: <a id="myLink" href="#"><%= GetGlobalResourceObject("Filter","Diary")%></a> Or using a control and setting the value directly in the resx...

fatal error C1017: invalid integer constant expression

Hi, I have got a statement in my code: #if DEBUG==0 this works fine in gnu g++ but it fails in VC++. Can anyone explain what is wrong with this. I have already read msdn help on this topic. so, if debug is defined as 1 then this is false i.e.0, so it should work and similarly if debug=0 Can anyone suggest how to correct this. My c...

Library design practices that work while doing development in Microsoft .net technologies

I was looking for a book or msdn article for developing a framework/library which extends the .net framework like here. Where can I find good design guidelines? ...