Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ID()
Message
From
24/01/1999 16:30:23
 
 
To
24/01/1999 16:25:28
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: ID()
Miscellaneous
Thread ID:
00179605
Message ID:
00179632
Views:
21
>Wow! A very helpful response, Ed. I immediately added your API function to my good tips file. On my machine, however, the line
? LEFT(cBuffer, nSize - 1)  && nSize includes the null
produces a truncated name and needs to be
>
? LEFT(cBuffer, nSize)  && nSize includes the null
>Although MS says ID() is no longer supported, in fact it returns the same information as SYS(0), although for how much longer....?
>

I probably misread the details of the value of the size parameter after the return. My apologies...

>Between you and Nick, all my problems are solved. Until next time, anyway :)...
>
>regards,
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