void Nish(char* szBlog);

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

void Nish(char* szBlog); header image 4

Entries Tagged as 'VC++ Orcas'

VC++ 2008 with MFC and GDI+ dependency

June 30th, 2010 · 1 Comment

A month or two back, I had to write a launcher app that would allow/disallow the running of select installers based on various conditions and config files. Since this would run prior to any of the MSIs, and thus couldn’t assume the presence of any dependencies like .NET or the VC++ runtime, I wrote it [...]

[Read more →]

Tags: C++ · VC++ Orcas · Win32/MFC

More on extending the marshal_as library

July 12th, 2007 · 1 Comment

In my previous blog entry, I talked about extending marshal_as to support other type conversions in addition to the default ones. But the examples I used didn’t need to handle resource deallocation. When you have type conversions which require explicit resource deallocation, you have to handle it slightly differently. As an example I have written [...]

[Read more →]

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

Extending the marshal_as library

July 8th, 2007 · 4 Comments

A couple of blog entries ago, I had written about the marshal_as library that is introduced in Orcas and how it’s very useful for mixed-mode string conversions. While the built-in functionality only allows string conversions, it’s also possible to extend marshal_as functionality to support other type conversions. As an example of doing this, I have [...]

[Read more →]

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

Using marshal_as for mixed-mode string conversions

April 1st, 2007 · 8 Comments

The need to marshal between native and managed types is a very frequent scenario in mixed-mode programming. This is specially true when it comes to strings – when you’ve got MFC strings, COM strings, standard C++ strings and CLR strings and need to convert between those types. In fact that’s what prompted me to write [...]

[Read more →]

Tags: VC++ Orcas