Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interfacing C DLL with Fox.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00139024
Message ID:
00140260
Vues:
32
Hi Rick,

>If you really need to do stuff like this just build a DLL and be done
>with it. It's just easier to map this stuff to C from straight parms
>than it is to muck with the entire Structure/pointer mechanisms.

I've no doubt that you can just start C++ and write a DLL to do this, actually, I know this, because you've written many of them. < s >

But many VFP developers out there do know VFP and maybe some other high-level languages, but either don't know or don't want to write stuff in a lower-level language. Giving them an easy solution to make use of it in VFP is essential, IMO. Of course I wouldn't really use VFP to copy memory, I've written a FLL (I still prefer FLLs over DLLs) that does the conversion from and to binary types as well as copying memory around.

This here is just another of these "It's not possible in VFP.... No, it's is possible" things. I often said that I believe that the power of FoxPro (and especially VFP) is often underrated. I don't think creating such a structure (DOCINFO) is more difficult in VFP than it is in VC++. As long as we deal with pointers to strings, strings and integers, we can do this pretty comfortable in VFP.

After all, VFP is my primary development tool, VC++ my secondary. As long as I can do something in VFP, I do so.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform