NewObject and unregistered COM
From: George (SpamMyAss_at_Mailinator.com)
Date: 09/23/04
- Next message: George: "Re: Zip/Unzip"
- Previous message: Andrew Howell: "Re: How to get which columns actually have 'Data Type Mismatch' error in INSERT-SQL?"
- Next in thread: Thierry: "Re: NewObject and unregistered COM"
- Reply: Thierry: "Re: NewObject and unregistered COM"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 08:52:04 -0400
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: George: "Re: Zip/Unzip"
- Previous message: Andrew Howell: "Re: How to get which columns actually have 'Data Type Mismatch' error in INSERT-SQL?"
- Next in thread: Thierry: "Re: NewObject and unregistered COM"
- Reply: Thierry: "Re: NewObject and unregistered COM"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|