CodeGuru Update eNewsletter – April 12th, 2005

CodeGuru Newsletter
April 12, 2005

This newsletter is part of the, EarthWeb, and networks.
___________________________ Sponsors
newsletters are sent from the domain “”
If configuring e-mail
or Spam filter rules, please use this
domain name (not the entire “from”
address, which varies).



–> Editorial –
… Visual Studio 2005 Beta 2 “Release Date” Confusion

       … Licensing and Sun
       … Recently Published Books

–> New Articles on
– CRichEditControl50W: A VC++ Rich Text Edit 4.1 MFC
– Oracle 10G Development & Design: Heterogeneous Database
– SOS from Your Production Environment
– [Updated] Windows Message Broadcaster
==> Multimedia /
– MFC Multithreaded Classes for Recording, Playing, and Saving (WAV
       ==> Regular
– Using Regular Expressions to Search and Replace
– SharePoint Ghosted and Unghosted Pages

–> Discussion Groups
(including Hot threads)
       – How
To : Getting JUST the path and filename of your exe
       – Recursive function that changes
an integer to binary
       – How to use

–> Highlighted new articles on

       1. Should Ruby Be Added to
Your Programming Repertoire?
       2. Emerging
Trends in RFID
       3. HTML Parsing: The
World is Your Database

trouble tracking who did what and when on your
current build? Scrambling to
figure out what to roll back
for the latest defect? Manage your application
process with Serena(R) ChangeMan(R) Professional(tm).
200,000 developers are already using Professional to
gain greater control
over their application development
processes. To find out why, take a quick
tour now.,1j2z,1,emws,1ly2,jorm,i5r0

from the

… Visual Studio 2005 Beta 2 “Release Date” Confusion

Unfortunately, people want dates. They want to know when to expect things. Up
until now, Microsoft had been stating that Beta 2 of Visual Studio 2005 would be
released by the end of March. As such, most people assumed that it would
release March 31st and start showing up the first week of April.

The first week of April has come and gone. April 1st is April Fools day.
Maybe the joke is on all of us!

This past week, one Web page on the Microsoft site does give implications as
to when the beta will be released. This page on Microsoft’s site is counting
down to a release on the 25th of April. Unfortunately, this is not — repeat,
not – a countdown to the beta. Rather, in talking to several people at
Microsoft, this is a countdown to a new program – the Beta Experience

Will the 25th of April be the day the beta is released?

I’ve asked about the page and the date. The official answer as of yesterday
was that there was not a set release date at this time for Beta 2. Rather, I was
told that the latest code drops are in the final stages, and that Microsoft will
ship the beta when the criteria for a “Go Live” release have been met.

“Go Live” is — in simple terms — is a way for developers to be able to
deploy applications created with Visual Studio 2005 Beta 2 without violating any
licensing agreement. If you read the licensing agreement on the beta, you
are likely to find that you are not allowed to put any applications into
production use. “Go Live” allows a way for Visual Studio 2005 beta applications
to be launched onto the Web.

So, in summary, there is confusion as to when Beta 2 will be released. It
isn’t going to happen by the end of March. Will it happen by the 25th? No
official confirmation has been given; however, things are looking like the
release will be very soon. Personally, I’d rather wait a few extra weeks and
know that the product will be much more stable!

If you look at the above page, you should also be forewarned that “6-weekly”
means every six weeks. It does not mean “once a week for six weeks”. More than
one person has been confused by that statement already!

… Licensing and Sun ….

This week I did the editorial for the newsletter.  This is
the newsletter for the site that will let you know each week the
new articles that were posted there.  You can subscribe via a link at Because I thought
you might find that editorial interesting, I’ve included it here as well:

This week I am filling in for Rosemarie. I’m going to side-step her normal
mention of products, standards, and technology announcements and instead mention
the following:

– Software patents should be banned entirely.
– Software patents may be
released to the public with the goal of gaining press, more so than as a
goodwill gesture.
– The Mozilla Public License (MPL) is broken. For example,
it restricts you from changing the licensing and requires you to address any
disputes in Santa Clara, California.
– The GPL is flawed. If you use GPL
code, your code must also be GPL.
– Multiple licenses are needed to cover
different situations.
– All traditional software should be free.

If you find these comments interesting, or if you disagree with any of them,
you should read the latest blog entry of Jonathan Schwartz’s, Sun’s President
and COO. In his blog,,1j2z,1,fqc2,6pgl,jorm,i5r0,
Jonathan makes comments similar to all of the above. More importantly, he
explains his position on all of these issues.

Licensing and open source are a hot topic today for developers. It is no
surprise that changes are now in the works for the GPL. (See Insider Hints at
GPL Changes,,1j2z,1,7hue,ito4,jorm,i5r0 )

In Jonathan’s blog, he talks about Sun’s license, the Common Development and
Distribution License (CDDL). The Sun license is based on the MPL and has been
submitted and approved by the OSI board of directors. Jonathan states that the
Sun license removes some of the issues with the GPL and MPL licenses.
Additionally, he states that it was written in a way that others could easily
use it.

With at least four highly visible licensing models, it will be interesting to
see what direction people migrate. I state four because there is also the
Microsoft Shared Source licensing. Other issues also make this licensing war
interesting – issues such as the use of services rather than distributed
software, the shrinking of global boundaries, and the aging of the GPL
(according to the GPL article above it was last updated in 1991).

In my initial review of the CDDL, it seems that Sun is trying to address
many of these issues. You can find a link to the CDDL at,1j2z,1,9rj3,ijsf,jorm,i5r0
Also included is a link showing the changes from the CDDL as compared to the

The bottom line is that Intellectual Property is extremely important. As
such, it is worth investing the time to make sure that the license you use is
appropriate. Additionally, if you choose to use someone else’s source, it is
equally important to know what you are agreeing to by knowing what license they
are using.

Until next week!

Brad Jones, Microsoft

… Recently Published Books

For those of you keeping up by reading books. The following are just a few of
the new books that have been recently released. If you’ve read any of these,
feel free to write a review to be posted on CodeGuru. See the submission
guidelines at:

–> Beginning InfoPath
      By F. Scott Barker for
      360 pages for

& Updated Articles on

Following are short descriptions of new articles on CodeGuru. If you are
interested in submitting your own article for inclusion on the site, then you
will find guidelines located at,1j2z,1,fka1,909i,jorm,i5r0

This week’s posted CodeGuru articles:

==> Controls

– CRichEditControl50W: A VC++ Rich Text Edit 4.1 MFC
    By ShellRaker
Learn about a simple MFC
Rich Edit Control using version 4.1 in msftedit.dll.,1j2z,1,fszi,99xt,jorm,i5r0

==> Database

– Oracle 10G Development & Design: Heterogeneous Database
    By Boris Makushkin
Learn about access
from Oracle to heterogeneous data on a Microsoft CRM database.,1j2z,1,jrg3,5q9g,jorm,i5r0

==> Debugging

– SOS from Your Production Environment
By Klaus Salchner
All the best software development practices and testing
efforts in the world cannot guarantee that there are no intermittent or
unexplainable application issues when in production. The worst case scenario is
that the application hangs and crashes. This article shows how to take dumps of
.NET applications and analyze them. This helps developers to understand the
issue and find the faulty code.,1j2z,1,gjpq,7grq,jorm,i5r0

==> Messaging

– [Updated] Windows Message
    By Ali Rafiee
Use this class to
broadcast a message to multiple windows, or different views without having to
have their handles.,1j2z,1,ez1p,j01g,jorm,i5r0

==> Multimedia / MultiThreading

– MFC Multithreaded Classes for Recording, Playing, and Saving (WAV
    By paulcheffers
Record sound and echo
it to the computer speakers. The sound is also saved in a sound file that can be
played back to the computer speakers.,1j2z,1,fd9z,lx0r,jorm,i5r0

==> Regular Expressions

– Using Regular Expressions to Search and Replace
    By Tom Archer
When you deal with user
input or text files, you usually have to search through that input and replace
literals, special characters, or patterns. Learn how to perform this common task
via the .NET regular expressions classes.,1j2z,1,6v5n,ans,jorm,i5r0

==> SharePoint

– SharePoint Ghosted and Unghosted Pages
Maurice Prather
Learn about the difference between the two types of pages,
and how to change between them.,1j2z,1,dz38,8ctm,jorm,i5r0


Check out the CodeGuru discussion forums at:,1j2z,1,bcr8,cx5j,jorm,i5r0

Forums include Visual C++, General C++, Visual Basic, Java, General
Technology, C#, ASP.NET, XML, Help Wanted, and much, much, more!


Some of the current threads with the most activity are:

==> How To : Getting JUST the path and filename of your exe

==> Recursive function that changes an integer to

==> How to use

Articles on

Below are some of the new articles that have been posted to

1. Should Ruby Be Added to Your Programming
    By W. Jason Gilmore –
Take Ruby
for a quick programming test drive. See if this object-oriented scripting
language can help in your development projects!,1j2z,1,ka2b,9sp8,jorm,i5r0

2. Emerging Trends in RFID
    By Manish
Bhuptani and Shahram Moradpour –
Technology trends, in particular, are not
only shaped by technological invention and advancements but by economic, social,
and political factors. Keeping all these complexities in mind, we have
identified the top emerging trends associated with RFID that are expected to
drive its ubiquitous adoption.,1j2z,1,g5am,jt60,jorm,i5r0

3. HTML Parsing: The World is Your
    By Brad Lhotsky –
Your mission:
Retrieve content off the world wide web and use it to conquer the world (or
check the local weather?). Discover the tools, and the techniques for effective
content retrieval.,1j2z,1,g92b,f21f,jorm,i5r0

If you are interested in advertising in our newsletters, call  Claudia at

information about advertising opportunities, visit

For details on becoming a Commerce Partner, contact David Arganbright
1-203-662-2858 or go to


To learn about other free newsletters offered by or
change your subscription visit

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~’s network of more than 160 Web sites is organized into 12

Small Business


To find an answer –


Looking for a job? Filling an opening? –
newsletter is published by Jupitermedia Corporation
Copyright (c) 2005
Jupitermedia Corporation. All rights
information on reprinting or linking to Jupitermedia content:

More by Author

Must Read