Subject | Re: [firebird-support] Re: OLEDB VERY SLOW. Need > 1000 transact ions /s |
---|---|
Author | Elmar Haneke |
Post date | 2004-02-10T08:47:29Z |
Epstein, Ed schrieb:
C-Programmers (not C++).
Writing the declare statements for the functions from ibase.h is
straight forward in most cases. But, VB cannot call functions declared
as "ISC_EXPORT_VARARG" since there is no option to select "cdecl"
calling convention - VB does require stdcall conventions. For this
reason you presumably cannot write an Firebird-Driver in VB language,
since "isc_start_transaction" is a VARARG function.
"isc_start_transaction" is one of them.
assume it to be more cost-efficient for you to hire someone to do this
small job than to learn the required skill to do the job. I would
assume that an simple import-utility written in C should be ready
within a day.
Elmar
> I have all of the manuals. However it only seems to be for C++. I am usingThe API manual (from the IB6 Documentation) is written for
> VB6. I need to know how to reference the API functions themselves inside of
> VB.
C-Programmers (not C++).
Writing the declare statements for the functions from ibase.h is
straight forward in most cases. But, VB cannot call functions declared
as "ISC_EXPORT_VARARG" since there is no option to select "cdecl"
calling convention - VB does require stdcall conventions. For this
reason you presumably cannot write an Firebird-Driver in VB language,
since "isc_start_transaction" is a VARARG function.
> This is why i previously mentioned that I dont really have the skill to findI would assume that you need only few functions - but
> out all the statements to declare all the Interbase API functions.
"isc_start_transaction" is one of them.
> I beleive that if I had all those statements, that I could, through trialIf you really do need an import tool for an single table only I would
> and error, eventually create a working frontend that would use classes built
> around those functions.
assume it to be more cost-efficient for you to hire someone to do this
small job than to learn the required skill to do the job. I would
assume that an simple import-utility written in C should be ready
within a day.
Elmar