>Hello everyone:
>I have several 'C' function which I would like to use in my VFP application. I was wondering what would be the best to do that. Do I have to create a dll file and use DECLARE in VFP for using ir or is their an easier soluction. I would prefer a solution which doesnt require me to use dll files because I dont know how to create them.
>
Two basic options - create a .DLL with standard C calling (not C++ calling), and use the DECLARE...DLL syntax, or create a COM object containing the desired functionality, and access the function as a method of something instantiated via CREATEOBJ() or NEWOBJECT() - less work on the VFP side, but requires you to make your function a method of a COM component written in C.