Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make a DLL to respond?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00061994
Message ID:
00062032
Vues:
61
>>>To be able to interact with the form you need to build an Out of Process OLE server. If you just want the form to display something you can build an In Process OLE server.
>>>To build an Out of Process OLE server choose "Build Executable" from the VFP project "Build Options" Dialog. To build an In Process OLE server choose "Build OLE DLL" from the VFP project "Build Options" Dialog.
>>>
>>>See the article http://www.eu.microsoft.com/vfoxpro/vftechinfo/custole.htm for a discussion of building custom OLE servers in VFP.
>>
>>Isn't checking EXE the same as doing a regular Visual FoxPro EXE? What need to be done different in order to have an Out of Process?
>
>Nothing except you need class to marked as ole public.

Ok, I have compiled an EXE. The ole public definition was already marked as I was using the DLL before. Now, in Visual Basic, I can still access my class, however, the application appears and ends immediately. To solve that, I tried putting a READ EVENTS in the class form Activate() but that didn't help.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform