Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.dll vs .Vcx
Message
From
05/02/1999 07:11:59
 
 
To
05/02/1999 05:17:00
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00184249
Message ID:
00184265
Views:
24
>Hi,
> I am wonder that we could build .dll file for implement the business logic to allow public access in 3-tier architecture. Why we put the business logic in .dll? May be it can be accessed by other application, if the logic was designed for an application only, do i still build it in .dll form or vcx? What is the comparison between both in any aspect?? What is the major purposes for each?

A VFP-created .DLL is an in-process OLE Automation server, which can be accessed by an application that supports OLE Automation (and through FPOLE, even some that don't.) A .VCX is a VFP-specific visual class library that can only be accessed from a VFP application; classes in a .VCX declared as OLEPUBLIC can be made available in VFP-created in-process and out-of-process servers.

If you're coding exclusively in VFP, there is no OLE interface overhead in VFP-instantiated classes from a .VCX, and you can use a .VCX to define and subclass visual as well as non-visual classes for use in VFP applications.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform