Supporting Multiple Client Bindings

A component can provide more than one client binding. In fact, any component that provides a DLL interface should provide at least two: a DLL binding for the WinI386 client architecture, and BTL client binding for all other client architectures. The following example shows how to specify both platform-dependent and platform-independent client bindings in a component INF file, with a preference for the platform-dependent version:

[info]
list=HitCounter
clientarchitectures=WinI386,all
vendor=Microsoft
contact=http://www.microsoft.com
version=2.1
serverbinding=dll
servermodule=fpcntsrv.dll
clientbinding=BTL
clientmodule=fpcntclt.btl

[WinI386]
clientbinding=dll
clientmodule=fpcntclt.dll

[HitCounter]
name=Hit Counter
description=Adds a hit counter to your page
type=insert