This function is also available from the VFP2C32.fll VFPx project if you've 
been using that.

--
rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Tracy 
Pearson
Sent: Monday, March 03, 2014 2:12 PM
To: [email protected]
Subject: RE: manage environments

Ted is right:

      DECLARE integer SHGetFolderPath IN SHFolder.dll integer, integer, 
integer, integer, string@

      #DEFINE CSIDL_APPDATA 0x001a
      #DEFINE CSIDL_COMMON_APPDATA 0x0023
      #DEFINE CSIDL_LOCAL_APPDATA 0x001c

      STORE 0 TO nreturn, nhwnd, ntoken, nflags
      cPath = REPLICATE(CHR(0),254)
      nreturn = SHGetFolderPath(nhwnd, CSIDL_COMMON_APPDATA, ntoken, nflags,
@cPath)
      cPath = ALLTRIM(cPath, CHR(0))


Tracy Pearson


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD04422A51683B8@ACKBWDDQH1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to