Re: NewObject and unregistered COM
From: Thierry (tper_NOSPAM_at_vfemail.net)
Date: 09/23/04
- Next message: Altman: "When Will we get Fox 9"
- Previous message: George: "Re: Zip/Unzip"
- In reply to: George: "NewObject and unregistered COM"
- Next in thread: George: "Re: NewObject and unregistered COM"
- Reply: George: "Re: NewObject and unregistered COM"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 15:07:39 +0200
Build EXE ou APP
oTime = NewObject('timeclass','timelib.vcx','realtime.exe')
--
Thierry
"George" <SpamMyAss@Mailinator.com> a écrit dans le message de news:
O8ipkwWoEHA.2636@TK2MSFTNGP09.phx.gbl...
> Hey guys
>
> Using:
>
> oClass = NewObject(myclass,mylib,myexe)
>
> I can access any class inside any library without registering it as COM,
> just copy it locally and use it.
>
> Works if I build an EXE or an APP, but not for DLLs ?
>
> Why oh why ???
>
> Try the simplest sample: new project 'realtime', new classlib 'timelib'
> with one class 'timeclass' with one method 'getTime' that returns
> datetime()
>
> Now build and try exe, app and dlls
>
> In command line:
> oTime = NewObject('timeclass','timelib','realtime.exe')
> ? oTime.getTime()
>
> Btw, if anyone knows a way of using fox classes without registering as
> COM, please let me know, I'd appreciate it.
>
> Thanks
- Next message: Altman: "When Will we get Fox 9"
- Previous message: George: "Re: Zip/Unzip"
- In reply to: George: "NewObject and unregistered COM"
- Next in thread: George: "Re: NewObject and unregistered COM"
- Reply: George: "Re: NewObject and unregistered COM"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|