Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make a DLL to respond?
Message
From
24/11/1997 17:24:15
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00061994
Message ID:
00062032
Views:
50
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform