void Nish(char* szBlog);

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

void Nish(char* szBlog); header image 4

Entries from July 2004

Site updated

July 28th, 2004 · 5 Comments

I’ve updated my primary web site – www.voidnish.com with my C++/CLI articles and also uploaded a few new pics. Here are the direct links to the C++/CLI stuff :- A first look at C++/CLI Function overriding in C++/CLI Arrays in C++/CLI And here are some recently uploaded pics :- Nish in front of his new [...]

[Read more →]

Tags: General

Sending mail in an unmanaged VC++ application

July 16th, 2004 · 11 Comments

An oft posted question in NGs is how to send mail from an unmanaged VC++ application. If you are using VC++ 2003, then you can use the ATL7 mailing classes. I list below some bare-minimum steps to send a mail out, but you might want to look up further documentation on MSDN. Include the required [...]

[Read more →]

Tags: Win32/MFC

Blogger’s Block

July 15th, 2004 · 12 Comments

For a 2 week gap, you might have noticed the lack of any new entries on my blog. No, I wasn’t imprisoned for using the cell phone while driving drunk nor was I ill in bed with flu; but I had Blogger’s Block! It’s the most frustrating state of mind that a blogger can get [...]

[Read more →]

Tags: General

Direct manipulation of CLI arrays using native pointers

July 14th, 2004 · 7 Comments

Here’s some code that shows how you can directly manipulate the contents of an array using native pointers. The first sample is for a single dimensional array and the second is for a jagged array. Natively accessing a single-dimensional array void Test1() { array<int>^ arr = gcnew array<int>(3); arr[0] = 100; arr[1] = 200; arr[2] [...]

[Read more →]

Tags: C++/CLI

Another CP article – Arrays in C++/CLI

July 13th, 2004 · 1 Comment

I just finished my latest C++/CLI article for CodeProject :- Arrays in C++/CLI The article exposes the new array syntax available in C++/CLI for the declaration and use of CLI arrays, and covers single-dim arrays, multi-dim arrays, jagged arrays, direct initialization, arrays as function arguments, arrays as return types, array covariance, parameter arrays and the [...]

[Read more →]

Tags: C++/CLI