Stuart's right...there are problems with VFP 5.0. Upgrade to VFP 9.0 and base your COM classes on the Session class that was introduced in VFP 6.0, SP3.
>Departmental level SQL connections..among other types of processing, but primarly the com+ will be doing connection pooling, and iniating connections for our VFP app to communicate with SQL server.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer