Sorry again; I seem to be wallowing in assumptions here.

If you haven't used the library I suggest reviewing the info available when you 
grab it from VFPx. One of the nice things that's included is a PRG that 
installs a whole pile of Intellisense entries. Type VFP2C and a space at the 
command prompt and you get to see every function inside the library. I have 
this line in my startup.prg

DO c:\vfp9\vfp2c32_help.prg WITH 'install'

--
rk

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Mike 
Copeland
Sent: Wednesday, March 12, 2014 2:32 PM
To: [email protected]
Subject: Re: Do i have internet

-------- Original Message --------
Subject: Re: Do i have internet
From: Richard Kaye <[email protected]>
To: [email protected]
Date: 3/12/2014 11:51 AM
> My fault; that was a quick and dirty code snippet. The library has to be 
> initialized after it's loaded. Try this:
>
> SET LIBRARY TO p:\vfp2c32\vfp2c32\vfp2c32.fll
> INITVFP2C32(VFP2C_INIT_ALL)
> ? ICMPPING([aResults],[google.com],30,0,1000,32,.f.,4)
>
> --
> rk

Never mind, found it...

In  the above code snippet, you either need to add
     #DEFINE VFP2C_INIT_ALL   0xFFFFFFFF
                 or
     VFP2C_INIT_ALL=0xFFFFFFFF
                 if you're using it in interactive (command window) mode.

Mike Copeland

[excessive quoting removed by server]

_______________________________________________
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/DF1EEF11E586A64FB54A97F22A8BD04422A5291E20@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