Re: DLL?
From: Claude Fox (cfuchs_at_activevfp.com)
Date: 06/07/04
- Next message: Anders Altberg: "Re: Insert via another table's columns"
- Previous message: Mark Stanton: "Re: Composite primary key- newbie question"
- In reply to: Scott Cadreau: "DLL?"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Anders Altberg: "Re: Insert via another table's columns"
- Previous message: Mark Stanton: "Re: Composite primary key- newbie question"
- In reply to: Scott Cadreau: "DLL?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|