>Have you turned off "Debug Info" before building the project? In a distributed run-time, you probably don't want debug info turned on, leaving it on increases the .EXE size. If you don't know, you find the debug info check box on the Project menu - Project Info... option - Project tab of the dialog.
>
Again, creating a .DLL from VFP is only useful if your intent is to create in-process COM objects; it won't server as an overlay library. It provides in-process COM objects that can be instantiated and accessed just like any other COM server. VFP in-process COM servers cannot have any UI; they do not participate in the data sessions of the remainder of the VFP app, and without resorting to some roundabout methods, can't pass normal VFP database things like cursors or views across the COM interface without either changing their representation or saving them as tables as passing a reference to the table across their interface. It's not intended as a way of segmenting your application into pieces to swap in and out of a common executin environment.