Discussion:
Why does gendbc need to update the dbc?
(too old to reply)
Peter
2005-03-09 19:13:05 UTC
Permalink
I'm using gendbc to generate the prg for a dbc but it seems that gendbc
requires the dbc to be not read-only. I don't understand why gendbc needs to
update the dbc since I assume that gendbc is just pulling info from the dbc.
What does gendbc update in the dbc?

Thanks.
Olaf Doschke
2005-03-17 15:52:24 UTC
Permalink
Hi Peter,
Post by Peter
What does gendbc update in the dbc?
There is a line, where GenDBC compiles the DBC.
This way it makes sure the Objectcode matches the
Sourcecode.

You may take this step out of the code and another line,
where the database is opened EXCLUSIVE.

Those two lines modified and you get a gendbc capable to run
on a database in use doing no updates.

Bye, Olaf.
Peter
2005-03-22 03:49:01 UTC
Permalink
Thanks Olaf for your reply,

Peter
Post by Olaf Doschke
Hi Peter,
Post by Peter
What does gendbc update in the dbc?
There is a line, where GenDBC compiles the DBC.
This way it makes sure the Objectcode matches the
Sourcecode.
You may take this step out of the code and another line,
where the database is opened EXCLUSIVE.
Those two lines modified and you get a gendbc capable to run
on a database in use doing no updates.
Bye, Olaf.
Loading...