Hi Cetin,
>How do I debug fll's (VFP5 and VC4). TIA.
Is it really VC4, or VC4.2? In case of the second, you can open the settings dialog (ALT+F7, or Build|Settings...) and on the Debug tab you can enter a name of a "Executable for debug session". Enter the full path to the VFP.EXE here. Then set a breakpoint in your code and choose Build|Debug|Go. There might be a message that VFP doesn't contain debug symbols. Ignore it and VFP will start. Load the library and call the function you want to debug. As soon as the breakpoint is reached, the VC debugger should come to top. I usually have a small VFP program that loads the library, sets up the environment and calls the FLL function. You can pass the name of this program as a parameter to VFP and it will executed automatically.
Christof
--
Christof