Paulo,
You don't need pro_ext.h to create a DLL in VC++ that you can call from VFP. On my website is a sample spyin.zip under the Samples link. It has a VFP and a VC++ project showing exactly how to create the DLL.
>C:\Program Files\DevStudio\VC\INCLUDE\pro_ext.h(108) : fatal error C1189: #error : The /MD or /MDd compiler switch (Multithreaded Using DLL) is required.
>Error executing cl.exe.
>
>VFPAPI.dll - 1 error(s), 0 warning(s)
>-------------------------------
>
>I'm trying to create a DLL with MSVC 5.0, so the compiler
>gives the message above.
>If I set /MD ou /MDd in Settings then the errors increase to 14.