>I have written a couple of test DLLs in VFP and they work if I call them from VFP. However, I want to call them from C, Delphi, and VB but the 'entry point' is missing. When I write DLLs in C, I have to declare functions as WINAPI - is there anything similar in VFP?
>
>My basic code is similar to this:-
>
>DEFINE CLASS x AS custom OLEPUBLIC
> FUNCTION FuncOne
> * does something here
> * returns result
> ENDFUNC
> FUNCTION FuncTwo
> * returns something else
> ENDFUNC
>ENDDEFINE
>
>
>Don't quote me on this code, it's from memory (not exact). The basic structure shows what I have.
>
>Am I missing anything from this??
That should work. Are you setting the reference in the VB project?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer