Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Custom ActiveX DLL Events
Message
De
18/12/1997 10:14:57
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
 
 
À
18/12/1997 01:50:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00066798
Message ID:
00066904
Vues:
45
>This is a quick&dirty code sample of what you can do. Pointers.PointersCtrl.1 is one of my ActiveXs created in VC++. It's inivisible at runtime, etc.

That helped me get closer, but I'm still having some trouble. The code that you provided DOES work for Physical Controls and insertable objects (like Excel worksheets, etc.)

The error that I'm getting now, is an Ole Error, (not a fox one) "No Such Interface Supported". I think this is because it is trying to site my object (which is not a control) on a container.

o=createobject("MyContainer")

DEFINE CLASS oleClassExample AS OleControl
OleClass ="dlltest.jtest"
ENDDEFINE

DEFINE CLASS MyContainer AS form
ADD OBJECT oleObjectExample AS oleClassExample
ENDDEFINE
Jay Shepherd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform