void Nish(char* szBlog);

Nish’s thoughts on MFC, C++/CLI and .NET

void Nish(char* szBlog); header image 4

Entries Tagged as 'VC++ 2010'

VC++ 2010 : C++/CLI does not support variant delegates/interfaces

July 11th, 2010 · No Comments

I just reported this bug on Connect : Connect Bug URL .NET 4.0 supports covariance and contravariance in delegates and interfaces. Unfortunately, C++/CLI does not support this as of VC++ 2010 RTM. Considering that the most popular use for C++/CLI today is as an interop language, the compiler not supporting a feature that’s going to [...]

[Read more →]

Tags: C++/CLI · VC++ 2010

Visual Assist X gives VC++ 2010 intellisense for C++/CLI

July 2nd, 2010 · 1 Comment

The lack of intellisense has been the biggest show-stopper for using VC++ 2010 for any managed or mixed mode programming. Many people could not make the upgrade from VC++ 2008 for this very reason. Fortunately, the latest version of Visual Assist X from Whole Tomato Software provides fully functional intellisense for C++/CLI code! VA has [...]

[Read more →]

Tags: C++/CLI · VC++ 2010

Undocumented compiler error CS0226

February 28th, 2010 · No Comments

This one’s an obvious error really – but it’s still undocumented, and thus qualifies for a blog entry. I guess once __arglist was dropped from the standard documentation, all its associated error messages were dropped too. Compiler Error CS0226 Error Message An __arglist expression may only appear inside of a call or new expression Example [...]

[Read more →]

Tags: C#/.NET · VC++ 2010

C++/CLI bug : Operator overloading in an interface

February 27th, 2010 · 1 Comment

There was a very interesting thread on Code Project’s C++/CLI forum last week. Here’s the link to the thread : Code Project forum thread The gist of the post is that the C++/CLI compiler was not recognizing an overloaded unary operator defined in an interface while it could do so when the interface was changed [...]

[Read more →]

Tags: C++/CLI · VC++ 2010

Setting VC++ directories in VS 2010

July 17th, 2009 · 3 Comments

In VS 2010, Tools/Options does not have a VC++ directories tab (where you normally set the include/lib search folders). Instead if you take project settings for a C++ project, you’ll see VC++ Directories listed under Configuration Properties. Of course these are per project and not per user (as in VS 2008). If you want to [...]

[Read more →]

Tags: C++ · VC++ 2010