Page 1 of 1
Tailbite residents?
Posted: Fri Feb 13, 2004 1:03 pm
by Justin
it is possible to make a resident with TB?, there is a button but does not work. i would like to make a resident with some MS interfaces(using extends) and constants, when i use Make Resident TB hangs, it can be done?
Posted: Fri Feb 13, 2004 2:53 pm
by El_Choni
Yes, I thought this already worked (this is what happens when you put the button before actually writing the code XD ).
EDIT: it DOES work. Browse for your pb file with Interfaces and what not, and press the 'Make resident' button. If it doesn't work, make sure you're using the last version: 1.0 Beta 9.04.
EDIT2: I think the problem is you didn't select any file. I've just fixed that so it doesn't hang (just doesn't do nothing).
http://www.terra.es/personal5/temporald ... taller.exe
I'm doing the help docs right now, so the current version is more or less like the final one (but I must check this).
Posted: Fri Feb 13, 2004 3:45 pm
by Justin
Thanks, I updated to the last version, there is a little bug in the updater, after downloading and installing the files says
PB Compiler: ...\TBCompiler.pb
Syntax Error!
Ha terminado la canalizacion
although the files are copied, maybe deleteing the previous ones before installing would work, i haven't tried
Residents don't work with interfaces using extends, this hangs TB:
Code: Select all
Interface ICatalog extends IDispatch
get_Tables(a.l)
get_ActiveConnection(a.l)
put_ActiveConnection(a.l)
putref_ActiveConnection(a.l)
get_Procedures(a.l)
get_Views(a.l)
get_Groups(a.l)
get_Users(a.l)
Create(a.l, b.l)
GetObjectOwner(a.l, b.l, c.l, d.l)
SetObjectOwner(a.l, b.l, c.l, d.l)
EndInterface
IDispatch is already declared in PB.
Posted: Fri Feb 13, 2004 4:24 pm
by El_Choni
Please, download the latest version (again

and you'll see now what's going on (you'll see the error reported by the compiler). Seems that you must include IDispatch in your resident file or the compiler doesn't recognize it, funny.
About that error the updater gave you, it's fixed now thanks. Better delete current install and download the installer again (I have to work a bit more in the updater to download only new files).
Posted: Fri Feb 13, 2004 6:03 pm
by Justin
The updater worked. Strange it does not recognize declared interfaces, but just declaring IDispatch in the resident worked, thanks.
Posted: Sat Feb 14, 2004 1:06 am
by freak
This is the usual behaviour of the PB compiler. When compiling
residents, it doesn't load those that are allready there.
It is the same with structures/constants
Timo