There are three rules you need to follow.
1. The name of the VFP Project, and the resulting DLL must begin with the letters CRUFL.
2. You must use VFP 7.0 or newer
3. You must specify the values of each parameter and the return value of the method in the VFP code.
>Hello
>
>I need to call a Fox Function , contained in a DLL , from a Crystal Report rpt file.
>
>Which are the steps to have this working?
>I built a DLL based on the CUSTOM OLE public class with a user defined procedure, but we can't see how to use it from Crystal inside a formula field.
>
>What am I missing?
>
>TIA
>
>Juan C.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer