Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: DENNIS JONES
  Where is DENNIS JONES?
 salina
 Kansas - United States
 DENNIS JONES
 To: Andy Kramek
  Where is Andy Kramek?
 Hot Springs Village
 Arkansas - United States
 Andy Kramek
 Tags
Subject: RE: Call DLL IN VFP
Thread ID: 153655 Message ID: 154984 # Views: 5 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Friday, December 21, 2007 12:40:19 AM         
   


But, that's the whole point! Any 32 bit dll which exposes a public interface can be converted to a Foxpro class which Implements the dll's functions. My topic dealt with a third party license manager, but the basic idea would work equally well with other COM objects.

> An advantage of using the OLEPublic class method is it illiminates the need to understand C+ programming concepts like iDispatch. For the Foxpro programmer, it provides a clean way to instantiate an object witch exposes a public interface without the need to code difficult Declare statements. Nor is it required to use Createobjectex, since now that you have a visual foxpro class, simply invoking with Newobject is sufficient.
>
> But since this is NOT a class created by Paul, but one which he has to access I am not sure how your, I am sure, most excellent article is relevant here. The issue is not how to create a DLL in VFP but how to access one created by a third party!
>
> Regards
> Andy Kramek
> Microsoft MVP (Visual FoxPro)
> Tightline Computers Inc, Akron Ohio, USA

ENTIRE THREAD

Call DLL IN VFP Posted by Paul Newman @ 12/6/2007 7:04:52 PM
RE: Call DLL IN VFP Posted by DENNIS JONES @ 12/20/2007 12:22:28 AM
RE: Call DLL IN VFP Posted by Andy Kramek @ 12/20/2007 12:06:21 PM
RE: Call DLL IN VFP Posted by DENNIS JONES @ 12/20/2007 8:04:41 PM
RE: Call DLL IN VFP Posted by Andy Kramek @ 12/20/2007 9:38:33 PM
RE: Call DLL IN VFP Posted by DENNIS JONES @ 12/21/2007 12:40:19 AM
RE: Call DLL IN VFP Posted by Andy Kramek @ 12/21/2007 12:48:10 PM
RE: Call DLL IN VFP Posted by DENNIS JONES @ 12/21/2007 11:53:54 PM
RE: Call DLL IN VFP Posted by Andy Kramek @ 12/22/2007 11:40:09 AM