View Review Details
| Book: |
|
Win32 API Programming with Visual Basic |
| Subject: |
|
Win32 API Programming with Visual Basic Review |
| Date: |
|
2004-03-13 01:31:03 |
| From: |
|
Jerry French
|
|
|
Like Bruce McKinney I did not read the entire book.
Unlike Bruce I was very worried by the sample chapter.
The author is making a song and dance about GetWindowText moving the location of a String
<blockquote>
cTitle = GetWindowText(hnd, sText, 255)
sText = Left$(sText, cTitle)
</blockquote>
- when it is the Left$ reassignment that is moving the StrPtr
This is such a fundamental error, from which he draws such wide inferences, that it amazes me that the chapter has not been radically revised.
|
|
| |