Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » win32   (RSS)

Long Paths in .NET, Part 2 of 3: Long Path Workarounds [Kim Hamilton]

For now, our suggested workaround for users that encounter the MAX_PATH issue is to rearrange directories so that the names are shorter. This may sound like a cop out, but this is ultimately easier on users because of (1) limited tool support (i.e. Explorer
Posted by BCLTeam | 12 Comments
Filed under: ,

Long Paths in .NET, Part 1 of 3 [Kim Hamilton]

Let’s start by looking at one of the more interesting exception messages in the BCL, the PathTooLongException: [PathTooLongException]: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters,
Posted by BCLTeam | 22 Comments
Filed under: ,

Writing a Useful Windows Service in .NET in Five Minutes [Dave Fetterman]

When opening up a new project in Visual Studio, one finds many, many options for deploying your new killer app: Windows Applications, Console Applications, and Web Services are all popular choices. Even when creating a simple daemon-type process, however,
Posted by BCLTeam | 13 Comments

Dead C Hacks: Reallocating or Changing an object's type in place in .NET? [Brian Grunkemeyer]

I was recently asked if there was a way to reallocate an object on top of another one, or to change the type of an object at runtime. This must have been a somewhat common practice in native C or C++ programs, perhaps something that C++'s placement new
Posted by BCLTeam | 3 Comments
Filed under: , ,

Managed Service Timeout during startup [Gang Peng]

It is not an easy job to write a windows service in unmanaged. There are many guidelines you need to follow to make the service work. Programming Server-Side Applications for Microsoft Windows 2000 is good reference to learn how to write a windows service.
Posted by BCLTeam | 0 Comments
Filed under:

Normalized paths are tricky [Brian Grunkemeyer]

A customer recently asked how to compare to see whether two paths refer to the same file, and he wanted to do this using a canonical path name. This turns out to be a non-trivial problem. Instead of talking about canonical path names which are somewhat
Posted by BCLTeam | 4 Comments
Filed under: ,

A query about providing more managed solutions [Kit George]

In a post to the BCL Website question page, nfactorial inquired if there is a timeline by which the BCL (and the .NET Framework in general) intends to have full support for unmanaged APIs? Nfactorial, we plan ot continue to expand the framework to have
Posted by BCLTeam | 0 Comments
Filed under: , ,
 
Page view tracker