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:02
Murray Mcintosh
Mammography Reporting System, Inc.
Seattle, Washington, United States
 
 
To
24/11/1997 17:08:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00061994
Message ID:
00062031
Views:
35
>>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?

You don't have to do anything different other than to recompile. An out of process exe is similar to a regular exe in that it can be run as a regular exe, but when the exe is built it gets registered as an OLE server same as an OLE DLL and can be used from another App (such as VB) using "createobject" and then manipulated as an object. The article I stated previously talks about some of the differences between and In Process server and an Out of process server. Essentially the difference is (according to the article):

"An In Process OLE server is simply a DLL that lives in the same process address space as the OLE Client. An Out of Process server lives in it's own process space, and thus is typically an .EXE."

Murray
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform