Browse by Tags

Related Posts

  • A C# coder in a C++/CLI world, part 1

    Recently I've found myself stumbling around some C++/CLI code. C++ is a language which I learned years ago and never really worked with seriously, so I've been cursing and moaning as I worked. Strange for me to go back to a (partially) unmanaged environment now, with all sorts of assumptions that I have...
    Posted to Miscellaneous Debris (Weblog) by Avner Kashtan on 08-28-2007, 12:00 AM
    Filed under: .NET, C#, C++/CLI
  • More Tales from the Unmanaged Side - System.String -> char*

    Today, I had a very tight deadline to achieve a very simple task: pass a managed .NET string to an API function that expects a null-terminated char*. Trivial, you would expect? Unfortunately it wasn't. My first though was to do the pinning trick that I mentioned in my last post, but in this case I needed...
    Posted to Miscellaneous Debris (Weblog) by Avner Kashtan on 08-28-2007, 12:00 AM
    Filed under: .NET, C#, C++/CLI
  • MSIL: Part 4

    In this part we will look at the differences between what the C++/CLI compiler generates and that the C# compiler generates with regards to MSIL. We won't be creating any MSIL applications this time, but rather we will be analyzing the MSIL. C++/CLI I really like C++/CLI, it brings the best of both worlds...
    Posted to Granville Barnett (Weblog) by gbarnett on 09-07-2007, 12:00 AM
    Filed under: MSIL, .NET, C#, C++/CLI
  • Another minor C#/C++ difference - adding existing files

    Another minor detail that bit me for a few minutes today. I'm posting this so I'll see it and remember, and possibly lodge it in other people's consciousness. Using Visual Studio 2005, adding an existing .cs file to a C# project will cause a copy of that file to be created in the project directory. If...
    Posted to Miscellaneous Debris (Weblog) by Avner Kashtan on 10-28-2007, 12:00 AM
    Filed under: Visual Studio, C#, C++/CLI
  • DSA 0.1 released

    Today, I pushed the release button on a little project I've been doing over on CodePlex entitled Data Structures and Algorithms (DSA) . The story of the project is to basically go ahead and without looking at the .NET source create custom implementations of some of the stuff in the System.Collections...
    Posted to Granville Barnett (Weblog) by gbarnett on 09-07-2007, 12:00 AM
    Filed under: .NET, Data Structures, Algorithms, C#, C++/CLI, DSA
  • Upgrading all projects to .NET 3.5

    A simple macro to change the Target Framework for a project from .NET 2.0 to .NET 3.5, hacked together in a few minutes. This will fail for C++/CLI projects, and possibly VB.NET projects (haven't checked). Works fine for regular C# projects, as well as web projects:   For Each proj As Project In...
    Posted to Miscellaneous Debris (Weblog) by Avner Kashtan on 05-25-2008, 12:00 AM
    Filed under: .NET, CodeSnippets, Visual Studio, C#, C++/CLI
Page 1 of 1 (6 items)
Microsoft Communities