Alex,
If putting the proper case of the name in the VFP DECLARE command doesn't solve your problem, what kind of VC++ project did you create? If you build an MFC DLL all you have to do is create public member functions and I always just put the function name in the .DEF file instead of using the macro. it works great for me. There is a sample of this in the spyin.zip file over on my website.
>Here's what. I need to re-write some DLL's to be accessible from VFP.
>I couldn't yet, because I always get an error from VFP: "Invalid entry point 'funtion_name'". Any hints why this happens? Any fool proof method? I'm using VC++ 5.
>
>Now the other thing is that I need to pass structures back and forth. I could do it, but I always get garbage.