Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serious Error with Currency Data Type
Message
From
18/01/1999 13:41:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00177250
Message ID:
00177284
Views:
60
>Ed,
>
>I wonder how many billion programmer hours have been wasted by pointers? *L*
>

I don't think we can represent that number with a ULONG!

All this because someone had a pointer to a structure (the structure is 700 bytes long), and needed 41st byte of the strucutre. So rather than looking up the name of the structure member or recasting the pointer, he just added 41 to the pointer...and walked off the end of the heap. *sigh*

>>Another case of failing to RTFM...just be glad we're not doing C - I'm in working today because someone failed to properly cast some pointers to structures before doing some (in theory) simple pointer math....
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform