|
Home > Archive > FoxPro database connector > April 2005 > Why does gendbc need to update the dbc?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Why does gendbc need to update the dbc?
|
|
|
| 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-04-07, 8:05 pm |
| Hi 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.
| |
|
| Thanks Olaf for your reply,
Peter
"Olaf Doschke" wrote:
> Hi Peter,
> 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.
>
>
>
>
|
|
|
|
|