NB: i use Delphi5 pro, InterBase Express palette and IB6.5.
i've built a little cgi testing program that involves a WebModule having a
TIBTable (with IBDatabase and IBTransaction) linked with a
TDataSetTableProducer. Nothing simplier ..
The problem is as follows:
I. from my Delphi IDE:
1. i connect the IBDatabase (IBDatabase.Connected := true)
2. i connect the IBTable to the IBDatabase and i chose a TableName for my
IBTable.
3. i active (active := true) the IBTable to be able to visually configure it
(either to add fields to the IBTable, or to preview the data in the
TDataSetTableProducer)
4. i close (active := false) the IBTable and disconnect (connected := false)
the IBDatabase
5. i open the IBTable (IBTable.Open) and IBDatabase (IBDatabase.Open) on the
OnCreate event of the WebModule; accordingly i close the IBTable and
IBDatabase on the OnDestroy event of the WebModule.
6. i compile the .dpr directly in the c:\inetpub\scripts directory
II. from the web browser
1. i launch my cgi, ie http://localhost/scripts/project1.exe
.. and no data appear in the browser.
After some tests, it is like the IBDatabase connection causes problem. Why?
Because if i *don't connect the IBDatabase at design-time before launching
the cgi* from the browser, it runs fine.
Has somebody already tested it? Is it a problem when
connecting/disconnecting at
design-time the IBDatabase? Apart from setting the IBTable and IBDatabase
properties at run-time, how to fix that?
Thank's. Didier
"Didier Cabalé" <didier...@free.fr> a écrit dans le message news:
3cfbb25a_1@dnews...
It is an outdated version!
use this link to get the latest:
http://codecentral.borland.com/codecentral/ccweb.exe/author?authorid=102
--
Alessandro Petrelli.
Web: http://www.alessandropetrelli.com
eMail: aless...@alessandropetrelli.com
"Alessandro Petrelli" <petr...@interfree.it> a écrit dans le message news:
3cfcfc16_1@dnews...
> "Didier Cabalé" <didier...@free.fr> wrote in message
> news:3cfcf8f3_1@dnews...
> > update your IBX components with
> > http://info.borland.com/devsupport/interbase/ibx_updates.html
> > and set IBDatabase1.AllowStreamedConnected to false.
>
> It is an outdated version!
>
> use this link to get the latest:
>
> http://codecentral.borland.com/codecentral/ccweb.exe/author?authorid=102
i saw this link before, but as there were no french version, i prefered
IBX4.52.
Thank's for that.
Didier
There is a French version. The french Dlls haven't needed updating since 4.6.
I have never released an update to IBX not not released a corresponding German
and French resource Dll when they need updating. There has been no required
updated since 4.6.
> Thank's for that.
>
> Didier
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
This sad little lizard told me that he was a brontosaurus on his mother's
side. I did not laugh; people who boast of ancestry often have little else
to sustain them. Humoring them costs nothing and adds to happiness in
a world in which happiness is in short supply. (RAH)
> There is a French version. The french Dlls haven't needed updating since
4.6.
> I have never released an update to IBX not not released a corresponding
German
> and French resource Dll when they need updating. There has been no
required
> updated since 4.6.
Ok, thank's.
By the way, since i saw a new 'Interbase Admin' vcl package in my Delphi
IDE, is there any demo that show how these components work?
Thanks. Didier
Look on my CodeCentral page, there should be the Admin demo I wrote for D6 on
there for D5.