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:00:14
Murray Mcintosh
Mammography Reporting System, Inc.
Seattle, Washington, United States
 
 
To
24/11/1997 15:20:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00061994
Message ID:
00062027
Views:
43
>>>I have created a Visual FoxPro DLL which I use in Visual Basic. However, from Visual Basic, I can have access to that DLL, which is a form, when I move the mouse over the it. I can access the properties and methods but I can't have Visual FoxPro respond to a mouse. I guess what I have defined is an OLE server which can't respond to a user interface. How can I define a DLL which can respond to a user interface?
>>
>>Take this for what it is worth, I was told by MS Phone guy you can't have active interface with a dll.
>>If you find out different please post a reply.
>
>I also found that by searching the archive. Many people wanted to have that. I think what we are trying to do is to have an ActiveX look-a-like control and this won't be supported before Visual FoxPro 6.
>
>So, OLE server is what we have now. I thought we would have been able to add a class grid on a Visual Basic form to be able to benefit of the power of Visual FoxPro when come time to deal with big tables.

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.

Murray
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform