Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Are VFP OLE Servers 'REAL;' COM servers?
Message
 
À
09/01/2001 09:38:19
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00461108
Message ID:
00461119
Vues:
14
>I have tried to use VFPCOM with outlook and BINDEVENTS, EXPORTEVENTS etc work. But when I created an EXE OLE SERVER, which had a class marked as OLE PUBLIC I was able to create an instance of this server but could not get BINDEVENTS, EXPORTEVENTS etc to work.
>
>Are these VFP COM servers NOT real servers or am I doing something wrong?
>
>EXPORTEVENTS produces no prg and returns 1000 as error
>BINDEVENTS gives OLE ERROR - No such interface supported...
>
>Similar code using OUTLOOK as the server works fine.
>
>Any ideas?
>
>Bernard

Bernard, VFP natively cannot raise the events which is the reason that no events are exposed from the VFP OLE server.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform