Re: DLL?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Claude Fox (cfuchs_at_activevfp.com)
Date: 06/07/04


Date: Mon, 7 Jun 2004 18:19:46 -0400

An OLEPUBLIC class is nice because it can go anywhere. You're also dealing
with more Object-Oriented code, classes, methods. The nice thing is you can
call the "business logic" in this OLEPUBLIC class from your VFP GUI or from
your VFP web service mtdll - it's separated from the interface.
The following could be a VFP COM .EXE, VFP COM MTDLL, .app, or just a .prg:
DEFINE CLASS BusinessLogic AS Custom OLEPUBLIC
    FUNCTION DeleteCustomer (tcCustomerID AS Integer)
        * delete record here
    ENDFUNC
ENDDEFINE

"Scott Cadreau" <scadreau@aros.net> wrote in message
news:PMKdnd1T99xMTFndRVn-ig@aros.net...
> I am writing a group of fairly large applications. There are a few
> "modules" that could be written to be used in any of the applications.
>
> My question is what is the best route to take for these modules? My first
> thoughts are do create dll's, but I am not sure how to pass the dll's any
> parameters. Is that the best route to take? If so, can someone point me
to
> a good book/article that will help me build my dll's?
>
>
> Thanks,
>
> Scott
>
>



Relevant Pages

  • Re: URGENT: FoxPro COM Object
    ... A COM server is a OLEPUBLIC class. ... sample class definition is: ... DEFINE CLASS bizrules AS Custom OLEPUBLIC ... See VFP help on DEFINE CLASS for more info. ...
    (microsoft.public.fox.vfp.dbc)
  • Re: URGENT: FoxPro COM Object
    ... A COM server is a OLEPUBLIC class. ... sample class definition is: ... DEFINE CLASS bizrules AS Custom OLEPUBLIC ... See VFP help on DEFINE CLASS for more info. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: URGENT: FoxPro COM Object
    ... A COM server is a OLEPUBLIC class. ... sample class definition is: ... DEFINE CLASS bizrules AS Custom OLEPUBLIC ... See VFP help on DEFINE CLASS for more info. ...
    (microsoft.public.fox.helpwanted)