Sigh....you guys have it all wrong.....
A "warper" program is what the Daystrom Institute was working on at Utopia Planetia on stardate 46785.4
>Hi David,
>
>>Let's hear *your* definition of a wrapper -- with examples, including one that deals with "existing code".
>
>Say you have a prg with two function in it. This would be a wrapper for that PRG:
>
>
define class MyWrapper as Custom
>name = MyWrapper
>
>procedure Init
> set procedure to MyPrg.Prg
>endproc
>
>procedure Func1
> return Funct1InMyPrg
>endproc
>
>procedure Func2
> return Func2InMyPrg
>endproc
>enddefine
>
>There, that wraps a new object interface to existing code with out changing the exisitng code at all. The old code shouldn't be changed, then your not wrapping, your modifing, and most of the times it can't be, either, its not accesible, or it needs to backward compatible.
>
>Another exapmle would be a wrapper to an ActiveX (a subclass, or third object that controls it externally) , where you can't play with other code, and there are too many Gory Details to do everything over each time you need it.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05