msdn

will pen drive information same on both windows and Mac ?

Hi... Greetings to all.. I have a pen drive which is a make of Trensend .... Whether the product and vendor id of the above pen drive will be same on both windows and Mac operating systems..or will it be different .. Thank you ...

Does this RegisterDeviceNotification requires GUI

Hi.. Please let me know your answer for my below question Does this win32 api RegisterDeviceNotification Function requires GUI wont it work without GUI thank you ...

What to do with a new MSDN Subscription

I've been programming in .Net professionally for 3 years and always looking to sharpen my tools. I'm a sole developer for a company that recently purchased a MSDN subscription along with VS2008 Pro. In what ways have you found the subscription to be useful? I'm used to Googling 80% of the day to figure out how to do what I want to do, an...

Conflicting information in the MSDN and compiler warnings.

I am trying to use FtpWebRequest.Proxy and have it set to GlobalProxySelection.GetEmptyWebProxy() however i get a compliler warning Warning 1 'System.Net.GlobalProxySelection' is obsolete: '"This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' inste...

Query regarding using MSDN license

Hello. If I buy one of the available MSDN subscriptions from Professional, Premium, Ultimate and Test Professional then how many developers can download & use the products? ...

VariantClear() throws an exception when called on A VARIANT containing a SAFEARRAY

Hi, I am trying to wrap up some data from an array of BYTES into a VARIANT but I can't seem to free the data: When I run this code... SAFEARRAY * NewSArray; SAFEARRAYBOUND aDim[1]; // a one dimensional array aDim[0].lLbound = 0; //Sets the index to start from 0 //Sets the number of elements (bytes) that will go into the SAFEARRAY aD...

Can Someone Explain This MSDN Code To Me In English?

This is concurrency related. So the SubmitChanges() fails, and a ChangeConflictException is thrown. For each ObjectChangeConflict in db.ChangeConflicts, its Resolve is set to RefreshMode.OverwriteCurrentValues? What does this mean? http://msdn.microsoft.com/en-us/library/bb399354.aspx Northwnd db = new Northwnd("..."); try { db....

Do I need to purchase additional Client access Licenses for TFS 2010?

We are considering purchasing TFS 2010, and don't have an MSDN Subscription as of now. Consider two scenarios 1 - Purchasing MSDN Subscription. 2 - Purchasing TFS outside MSDN In both scenarios, how many number of CALs are available, and how many we need to purchase more? What will be the cost involved? Assume that we need to support a...

System-wide seeding of CryptGenRandom

Hi, In the MSDN documentation at http://msdn.microsoft.com/en-us/library/aa379942.aspx the following is written: With Microsoft CSPs, CryptGenRandom uses the same random number generator used by other security components. This allows numerous processes to contribute to a system-wide seed. CryptoAPI stores an intermediate random...

installing MSDN local help for Visual Studio 2010?

I've installed Visual Studio 2010 Ultimate Edition. I am not getting local help/MSDN. How can I install the MSDN library locally? ...

Is there a way to lock VertexBuffers in XNA?

Looking at the MSDN documentation, I can't find a way to lock VertexBuffers so that I can change their data while on the device. Is this possible in XNA? ...

Int64 (long) and Thread Safety

A quote from MSDN Assigning an instance of this type is not thread safe on all hardware platforms because the binary representation of that instance might be too large to assign in a single atomic operation. Does it mean is that Thead-safe on 64bit processors like Itianium or x86-64 as well? For instance: long data = GetData(); /...

msdn CM_GET_Parent Example Doesn't Work

I am working on getting the device id from the usb device i plug... The above application works on win-Xp but not in Windows 7 When i try to figure it i found that CM_Get_Parent () not works... can anybody please guide me on why its not working ...and is there any compatible function which can work on windows 7 source code: HDEVINF...

SetupDiGetDeviceProperty

Dear friends.. Can anybody provide me the example of using SetupDiGetDeviceProperty () I have searched via google but i cant get it to work.. Thank you ...

Parsing MSDN Geometry Data Type

Hi, I have a database where one field gives spatial coordinates. I have learned the field is a serialised MSDN geometry Data Type (http://msdn.microsoft.com/en-us/library/bb933973.aspx). I want to access this database from Python and was wandering if anyone knew the format of the Geometry Data Type, or any libraries capable of parsing ...

Is there any Java API sepc-like documentation for C#?

I hope this is not a duplicate post, which I seriously doubt, but I don't seem to be able to find a similar post. After a few months into programming with .NET/C#, it still bothers me that I can't find a C# documentation source that is as easily accessible as Java API spec or Objective-C. I am pretty sure MSDN has got something like tha...

Calling SHGetSetSettings from Delphi

I just read this question and this question, and since then I have been trying to call SHGetSetSettings in Delphi. This is a function of shell32.dll, but is not defined in ShlObj.pas, so we need to write our own definition. First we need to translate the SHELLSTATE structure. Now I have only limited experience in C, but I suppose that "...

Details on the Microsoft multi-string format.

In some of its API function Microsoft use the "multi-string" format to specify a list of strings. As I understand it, a multi-string is a null-terminated buffer of concatenated null-terminated strings. But this can also be interpreted as a list of strings, separated by a null character and terminated by two null characters. Here comes ...

page.DataContext not inherited from parent Frame?

I have a Page page in a Frame frame, with frame.DataContext = "foo". (page.Parent as Frame).DataContext is "foo". ok BindingExpression for page.DataContext is null (also forced with ClearValue). ok page.DataContext is null. but I expected "foo"! Why isn't the DataContext inherited? As far as I understand the Frame sandboxes the conte...

How do you read the user's display (first and last) name on all versions of Windows reliably?

I have found that on Windows 7 64 bit, on a machine with a domain name, GetUserNameEx( 3, .... ) which should get the extended name format DisplayName (==3), into a buffer, works fine. However, it does not work on Windows 7 32 bit, vm that is on a workgroup, rather than on a domain, it returns ERROR_NONE_MAPPED. How do you read the per...