I'll send You the whole project, I create an FLL instead of DLL because FLL functions You can invoke from VFP w/o any declarations first only SET LIBRARY TO MyFll.Fll. I don't know about Dev C++ but with C++ from Visual Studio 6 or .NET C++ You can modify change & build the project.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.