Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapping and Unmapping
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00137678
Message ID:
00137903
Views:
19
-snip-
>At the end of the rope at this point.
Mark,

A couple of things. First, try:
DECLARE INTEGER GetEnvironmentVariable IN Win32API;
  STRING @lpname, STRING @lpbuffer, INTEGER nSize
lcname = "PATH"
* You may need to make this larger
lcbuffer = SPACE(260)
lnsize = LEN(lcbuffer)
lnresult = GetEnvironmentVariable(@lcname, @lcbuffer, lnsize)
? LEFT(lcbuffer, lnresult)
It should reflect the change even though GENENV() does not.

However, I think that this is strictly local to the current VFP process and won't affect Oracle. You can try though.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform