You're right, of course, and this is what I do. In fact, I prefer ActiveX controls, but dlls are ok, too.
In the same time, the problem is "cute" and sometimes it's just easier to use a VFP solution than to write a dll. The client may also require that all the code must be VFP (because the programmers that will maintain the code don't know C/C++). Another reason: not all VFP programmers can write a C/C++ dll and a solution like Cristof's class or my Pointers may help them cope without C/C++.
Vlad
>It's kinda funny to see this discussed so ardemently...
>
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement