Sign in
Calvin Hsia's WebLog
thoughts from a professional developer
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
64bit
C++
CSharp
Debugging
FunGames
History
LINQ
Memory
Mesh
Miscellaneous
Pictures
Programming
SmartPhone
Testing
VB
Vista
Visual FoxPro
Visual Studio
Web
Windows API
WPF
Archive
Archives
April 2013
(2)
March 2013
(1)
February 2013
(1)
January 2013
(1)
December 2012
(1)
November 2012
(1)
October 2012
(1)
September 2012
(1)
August 2012
(1)
July 2012
(1)
June 2012
(1)
May 2012
(2)
March 2012
(1)
February 2012
(1)
January 2012
(1)
December 2011
(1)
November 2011
(1)
October 2011
(1)
September 2011
(1)
August 2011
(1)
July 2011
(1)
June 2011
(1)
May 2011
(1)
April 2011
(1)
March 2011
(1)
February 2011
(1)
January 2011
(1)
December 2010
(2)
November 2010
(1)
October 2010
(1)
September 2010
(1)
August 2010
(1)
July 2010
(1)
June 2010
(1)
May 2010
(1)
April 2010
(1)
March 2010
(2)
February 2010
(1)
January 2010
(1)
December 2009
(1)
November 2009
(1)
October 2009
(1)
September 2009
(1)
August 2009
(1)
July 2009
(1)
June 2009
(1)
May 2009
(1)
April 2009
(1)
March 2009
(2)
February 2009
(1)
January 2009
(2)
December 2008
(1)
November 2008
(1)
October 2008
(1)
September 2008
(1)
August 2008
(1)
July 2008
(3)
June 2008
(2)
May 2008
(2)
April 2008
(2)
March 2008
(2)
February 2008
(2)
January 2008
(2)
December 2007
(3)
November 2007
(8)
October 2007
(6)
September 2007
(4)
August 2007
(9)
July 2007
(2)
June 2007
(2)
May 2007
(11)
April 2007
(5)
March 2007
(2)
February 2007
(2)
January 2007
(1)
December 2006
(2)
November 2006
(1)
October 2006
(4)
September 2006
(6)
August 2006
(10)
July 2006
(13)
June 2006
(11)
May 2006
(7)
April 2006
(8)
March 2006
(14)
February 2006
(5)
January 2006
(21)
December 2005
(9)
November 2005
(19)
October 2005
(20)
September 2005
(12)
August 2005
(23)
July 2005
(12)
June 2005
(8)
May 2005
(7)
April 2005
(4)
March 2005
(1)
February 2005
(2)
January 2005
(13)
December 2004
(9)
November 2004
(4)
October 2004
(10)
September 2004
(4)
August 2004
(8)
July 2004
(1)
June 2004
(10)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Calvin Hsia's WebLog
More DECLARE DLL performance discussion
Posted
over 7 years ago
by
CalvinH
4
Comments
In this post DECLARE DLL performance questions I asked whether using the WIN32API keyword or the particular DLL file name would be faster. It turns out that Win32API is much faster, and Martin Jindra, Timo, and Fabio Lunardon answered correctly that with...
Calvin Hsia's WebLog
DECLARE DLL performance questions
Posted
over 7 years ago
by
CalvinH
13
Comments
I was writing a sample about DECLARE DLL to show some of its features which I implemented about 12 years ago, when I rediscovered an interesting performance issue. The purpose of DECLARE DLL is to allow the user to call functions in a DLL directly...
Calvin Hsia's WebLog
Using Foxpro to query line lengths
Posted
over 7 years ago
by
CalvinH
6
Comments
I was reviewing some code changes, and I noticed some of the lines were quite different in length. I wrote some code to figure out why. I thought initially that I would just create a cursor with a field of length 250 and then use the APPEND FROM...
Calvin Hsia's WebLog
SQL Server interpreter sample
Posted
over 7 years ago
by
CalvinH
4
Comments
I was writing some code to test Microsoft SQL Server: SQL Server 2005 Express Edition (which I believe you can download for free) It connects to SQL Express (It’s simple change to use SQL Server 2005), creates a database called Test, creates a table...
Calvin Hsia's WebLog
Today's Quiz. How many times is a user function called?
Posted
over 7 years ago
by
CalvinH
6
Comments
Run the code below. How many times is the function FOO called? Why? The first SELECT is a single table query. The next is a 2 table self-join with no join condition. PUBLIC nCount nCount= 0 CREATE CURSOR test ( name c( 10 )) nRecs...
Calvin Hsia's WebLog
Can you keep a server around after it's been released?
Posted
over 7 years ago
by
CalvinH
2
Comments
I received a question from a reader: I decided to extend my VPF9SP1 application to support OLE Automation like MS Office. I'd like to enable user (through code, i.e. VBA macro in Excel) to instantiate my app, create a new form, fill-in some data...
Calvin Hsia's WebLog
Why should VFP allow large programs?
Posted
over 7 years ago
by
CalvinH
17
Comments
I received a question regarding this post: How do large programs work? Hi Calvin. I thought we're supposed to write granular, encapsulated programs. I have read that the highest quality code is also some of the smallest code. If that's true, then...
Calvin Hsia's WebLog
Microsoft Sudoku article
Posted
over 7 years ago
by
CalvinH
6
Comments
Several months ago, I wrote The mechanics of Sudoku and Sudoku puzzles screen capture . As a result, Stephen Toub emailed me and asked if I’d like to beta test his Tablet PC version of Sudoku. He sent me several versions over the next few months to...
Page 1 of 1 (8 items)