http://qs1969.pair.com?node_id=484487


in reply to Re: Perl as a test tool for Foxpro apps?
in thread Perl as a test tool for Foxpro apps?

hi planetscape.

I read that document and attempted to use the api for VFP8, it would not ,however, compile; it was complaining about unresolved symbols in the linker.

It was suggested that this was because of definitions and that I needed windef.h... which i tried but it (windef.h) is full of syntax errors (Is this header not maintained anymore?

Do you have any experience setting up the compiler/linker to use the api? The examples in the sample directory are for use by foxpro apps to call external services... not *quite* what I wanted.

talwyn

Replies are listed 'Best First'.
Re^3: Perl as a test tool for Foxpro apps?
by planetscape (Chancellor) on Aug 17, 2005 at 19:16 UTC

    Alas, I have automated Word, Acess, Excel (and probably a few others), but never VFP. I have been doing a little digging and find very little information on automating VFP; there's tons of stuff if you go the other direction and use VFP to automate something else.

    That doesn't do you any good, however.

    I've debugged a few header files; where I start is Google Groups with a copy of the error message(s) in hand.

    Hentzenwerke is probably the leading authority on things FoxPro. Many of their books are available in electronic editions available for immediate download. Even though it's a version "behind", you might find Hacker's Guide to Visual FoxPro 7.0 useful; it appears to have several pages at least on using VFP as an automation server. (My hardcopy is for VFP 6.0 and maybe worthless for your purposes, but let me know if you want me to look at something for you.)

    If I find anything else, I'll be sure to let you know. If you like, you could always /msg me your e-mail address, and we could, for example, compare header files or whatnot without sucking on the Monastery's bandwidth.

    HTH,

    planetscape