I am attempting to register some 16-bit functions in my application, using RegFn() in the FOXTOOLS.FLL library. The functions I'm trying to register are for an external toolkit from ZyLab for full-text indexing.
At first, the RegFn() attempt was failing universally. I got it to work by temporarily changing the FoxPro default directory to the directory where all the ZyLab .DLL files are. When I did this, the functions registered successfully (and were called successfully, as well).
But when I complile my program and run it as an .EXE, it fails. When it gets to my line of code witht the RegFn() call, it pops up a File Open dialogue. If I cancel from the dialogue, I get a "File does not exist" error. If I select a file in the dialogue, I get an error that reads "DDEInit failed". But, as I said, if I run my source code inside FoxPro, rather than as a compiled .EXE, the functions register and execute with no problems.
Any ideas?
Mark Peter
mpeter@primenet.com
=========================
Mark A. Peter
Los Angeles, CA
mpeter@primenet.com=========================