Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Distributing an ActiveX control (2)
Message
De
27/01/2000 09:58:20
 
 
À
27/01/2000 09:48:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00323456
Message ID:
00323538
Vues:
31
>>You changed the interface. that's why. Early binding breaks when an interface changes.
>
>Ed,
>
>You are right and you are wrong:
>I did not change the interface from my point of view, just the implementation.
>I did change the interface from VB's point of view: I had the 'no compatibility' radio button checked in the project properties.
>I changed this to project compatibility and now everything works as it did before.
>

When I say 'interface', I don't mean the UI implementation, I mean the programmatic references to it - CLSID, ProgID, properties, methods, and their parameters. If you change any interface element, the CLSID changes, so you don't connect to it the same way. If the CLSID doesn't change and some other aspect does change, and you've used early binding, which resolves method and properyty interfaces at compile time and builds a reference table, rather than politely asking through the IDispatch how to resolve things (slower, but results in greater compatibility and portability), things break if the new control's not quite exactly identical to how it was at compilation.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform