==========================================================
CodeGuru Newsletter
January 29,
2008
http://www.CodeGuru.com
This newsletter is part of the Developer.com, EarthWeb, and
internet.com networks.
Jupitermedia Corporation
___________________________ Sponsors
________________________________
Business
Objects
_____________________________________________________________________
==========================================================
TOPICS:
–> Editorial
–> Recently Published Books
–>
New on CodeGuru:
==>
Dialogs
– Scrolling and Zooming in a CDialog-Derived
Class
==>
Debugging
– ADO.NET Trace Logging
==>
DLLs
– Exporting .NET DLLs with Visual Studio 2005 to be Consumed by Native
Applications
==>
JavaScript
– ICallback and JSON-Based JavaScript
Serialization
==>
Language
– Function Calls, Part 2 (Stack and Calling
Conventions)
==>
Macros
– Tip: Switch Between Source and Header C++
Files
==>
Mobile
– Memory-Mapped Files for Qualcomm
Brew
==> .NET
Tip
– Converting Strings to Enum
Values
==>
Video
– Displaying RSS Items with C# and ASP.NET
–> Discussion Groups — HOT
Threads
– How do
you programatically raise control events?
(C#)
– Dynamic members – safety
(C++)
– Reading Registry
(REG_BINARY) (C++)
–> Highlighted new articles on
Developer.com
1.
Working With Design Patterns:
Visitor
2. Nesting Transactions
with a Single SQL Server Database
3. Dependency Injection with Spring.Net
/——————————————————————-
Crystal
Reports for VS 2005 SP1
Crystal Reports for VS 2005 SP1 has been released
with
various updates focused on increasing overall quality.
This service
pack also includes Vista compatibility.
Learn more or download it now.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,5fcg,6jn4,jorm,i5r0
————————————————————–adv.-/
==========================================================
Comments
from the
Editor
==========================================================
Did you read the new articles in December that were posted to Codeguru? A lot
of our members took the time to submit articles to share with you. At this time,
we are voting for the best of those articles. Add your vote to the mix
at:
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,62i0,k2mw,jorm,i5r0
Until next week…
Brad!
—————————
Bradley L.
Jones
www.CodeGuru.com
—————————
=========================================================
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:
https://www.codeguru.com/review-guidelines.php
–> Pro C# 2008 and the .NET 3.5
Platform
By Andrew troelsen for
Apress
1400 pages for $59.99
hardbound
http://books.internet.com/books/1590598849
–> Microsoft Visual Basic 2008 Step by
Step
By Michael Halvorson for
Microsoft Press
580 pages for $39.99 w/
CD
http://books.internet.com/books/0735625379
–> Windows PowerShell Scripting
Guide
By Ed Wilson for Microsoft
Press
680 pages for $49.99 w/
CD
http://books.internet.com/books/0735622795
=========================================================
New
& Updated Articles on
CodeGuru
==========================================================
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
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,fka1,909i,jorm,i5r0
This week’s CodeGuru posts:
==> Dialogs
– Scrolling and Zooming in a CDialog-Derived
Class
By miteshpandey –
Learn how to
implement scrolling and zooming in MFC’s Property Page.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,8xze,cwhw,jorm,i5r0
==> Debugging
– ADO.NET Trace Logging
By Bipin Joshi
–
Apply the advanced trace log features of ADO.NET and improve your data
access code.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,55cs,8q23,jorm,i5r0
==> DLLs
– Exporting .NET DLLs with Visual Studio 2005 to be Consumed by
Native Applications
By
Sogartar
Learn how to create a DLL, implementing the Stdcall calling
convention. This DLL wraps a .NET DLL, which then is imported in MetaTrader 4
through the wrapper.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,9v09,m7ei,jorm,i5r0
==> JavaScript
– ICallback and JSON-Based
JavaScript Serialization
By Muhammad Adnan
Amanullah –
Learn to use JSON, a lightweight data interchange format to make
server-side class’ objects easily parse able by client side code to show output
on the browser.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,4jcj,9l35,jorm,i5r0
==> Language
– Function Calls, Part 2 (Stack and Calling
Conventions)
By kirants –
Read a disassembly
view of function calls, explaining organization of the stack and the behavior in
the context of different calling conventions.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,4z1j,az95,jorm,i5r0
==> Macros
– Tip: Switch Between Source and Header C++
Files
By atena –
Switch quickly between “cpp”
and “h” C++ files. Two macros are given, one for finding quickly just in the
current project and another to find in the solution.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,epjj,kfnk,jorm,i5r0
==> Mobile
– Memory-Mapped Files for Qualcomm
Brew
By Ray Rischpater –
Memory-map files to
save valuable RAM or simplify file parsing in embedded Qualcomm Brew
applications.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,a7se,3vwo,jorm,i5r0
==> .NET Tip
– Converting Strings to Enum
Values
By Jay Miller –
Learn how to take a
string and convert it into an enumeration value.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,ac4e,1mjl,jorm,i5r0
==> Video
– Displaying RSS Items with C# and
ASP.NET
By Bradley L. Jones –
Learn how to
use C# to grab and display individual items from any RSS feed.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,j9cy,7cyx,jorm,i5r0
==========================================================
Discussion
Groups
==========================================================
Check out the CodeGuru discussion forums at:
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,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!
… HOT THREADS …
Some of the current threads with the most activity are:
==> How do you programatically raise control
events? (C#)
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,cg5f,5el,jorm,i5r0
==> Dynamic members – safety
(C++)
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,3d3x,bfxr,jorm,i5r0
==> Reading Registry (REG_BINARY)
(C++)
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,1iej,mcal,jorm,i5r0
==========================================================
New
Articles on
Developer.com
==========================================================
Below are some of the new articles that have been posted to Developer.com (http://www.developer.com).
1. Working With Design Patterns:
Visitor
By Jeff Langr –
Visitor is often
viewed as a complex pattern that’s often regarded as difficult and troublesome.
But, the appropriate use of visitor demonstrates what’s at the heart of good
object-oriented design.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,1yuq,79ei,jorm,i5r0
2. Nesting Transactions with a Single SQL Server
Database
By Jani Jdrvinen –
Learn to nest
your ADO.NET 2.0 transactions correctly with the TransactionScope class, and see
how this information can be used with SQL Server databases.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,dbkt,5yqx,jorm,i5r0
3. Dependency Injection with
Spring.Net
By David Consdorf –
Take a look at
Spring.Net.a framework aimed at providing infrastructural support.and see how it
implements the concept of Dependency Injection, otherwise known as Inversion of
Control.
http://nl.internet.com/ct.html?rtr=on&s=1,3r3q,1,4z12,3o6p,jorm,i5r0
==========================================================