Subject | Re: [IBO] CreateDatabase() causing AV |
---|---|
Author | Sampo Ahokas |
Post date | 2006-01-30T13:50:49Z |
Helen,
the exact same app as soon as I can.
applications (flamerobin, isql) and even from my own application after
the dll has been loaded by a call to another function.
to IB_Connection.Connect() causes the DLL to be loaded and it works
without errors. I have not tried with DLLs in system directory though.
Since other methods seemed to work ok with DLL in app directory, I
assumed it is not what is causing the problem.
used to access both local and remote database. I have tried it myself,
and for reference:
http://groups.yahoo.com/group/firebird-support/message/70998
I have also tried the real fbclient.dll, but it made no difference.
In any case, there is something very strange going on, since so far
ONLY CreateDatabase() is causing errors. I remember reading on release
notes there were some changes to the client library selection between
IBO 4.5B and IBO 4.6A, and my version is a beta from between them.
Thanks for all the help for now, I will just try the suggestions in
latest post and if the problem still happens I'll wait until I can get
a the proper IBO 4.6A version and see if it helps.
-Sampo
> I just threw together a little test app similar to yours, but I putThank you for the effort and confirming that it works there, I will try
> everything in the DFM so you can see what I did:
the exact same app as soon as I can.
> - if IBO AVs because of the missing "transaction" component: it's a bug. ItI tried with transaction component as well, it made no difference.
> should raise an error message instead.
> e.g. if you were trying to access a server on Linux, does theYes, I am able to create databases on the server from other
> firebird user (or group) have the needed permissions to create a file?
applications (flamerobin, isql) and even from my own application after
the dll has been loaded by a call to another function.
> Does IBO know where to find your client? Or, to put it another way,Yes, it is located in application .exe directory, and for example call
> is there a correctly-named client in a place where IBO can find it...
to IB_Connection.Connect() causes the DLL to be loaded and it works
without errors. I have not tried with DLLs in system directory though.
Since other methods seemed to work ok with DLL in app directory, I
assumed it is not what is causing the problem.
> 2) If Embedded is all you have available, you won't be able toActually fbembed.dll contains the client code as well and it can be
> access a DB anywhere except locally, using cpLocal for protocol, and
> fbEmbed.dll has to be renamed to fbclient.dll and located in the same
> directory as your exe.
used to access both local and remote database. I have tried it myself,
and for reference:
http://groups.yahoo.com/group/firebird-support/message/70998
I have also tried the real fbclient.dll, but it made no difference.
In any case, there is something very strange going on, since so far
ONLY CreateDatabase() is causing errors. I remember reading on release
notes there were some changes to the client library selection between
IBO 4.5B and IBO 4.6A, and my version is a beta from between them.
Thanks for all the help for now, I will just try the suggestions in
latest post and if the problem still happens I'll wait until I can get
a the proper IBO 4.6A version and see if it helps.
-Sampo