Help with BDE API 
Author Message
 Help with BDE API

Hi Kris,
DbiInit is NO BDE Function, in D1 DbiInit was defined in DbiProcs as:
function DbiInit(pEnv: PDBIEnv): DbiResult;
begin
  DbiInit := DbiInitFn(DbiINTFVER, pEnv);
end;

and in D3 procedure TSession.InitializeBDE Env is initialized via
 FillChar(Env, SizeOf(Env), 0);
 StrPLCopy(Env.szLang, SIDAPILangID, SizeOf(Env.szLang) - 1);

Hope this helps
Dieter
--
if you want to email me please remove .xxx

Quote:

>I am writing a small interface to *a few* BDE API functions that i MUST use
>(in a **non-delphi ** application). I am unable find the BDE DLL that has
>'DbiInit' call (couldn't find it in the Idapi32.dll export table).

>i tried using DbiInitFn( 300, NULL ), (DbiInitFn, btw, is listed in
>Idapi32.dll export table) but BDE returns a Interface mismatch error.

>can anyone help on where DbiInit is and/or fixing the problem with
DbiInitFn(
>300, NULL ) (i also tried a Env record in place of NULL) ?



Wed, 18 Jun 1902 08:00:00 GMT
 Help with BDE API

Hi Kris,

Quote:
>In D2, i found only the follg in bde.pas and no other definition for
DbiInit.

>function DbiInit (pEnv: PDbiEnv): DBIResult stdcall;

>but i also tried direct calls to DbiInitFn( 300, NULL ) and DbiInitFn( 300,
>Env ) (and other values for DBIINTFVER). but DbiInitFn always fails with a
>'Interface mismatch error'.

in D3 DBIINTFVER is defined as 400, that's all i know...

Hope this helps
Dieter
--
if you want to email me please remove .xxx



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. Need Help from BDE API Gurus

2. BDE Error $2104 calling BDE API

3. Where to find BDE API call reference/help ?

4. HELP WITH Undeleting DBASE Records through the bde-api

5. Where to seek for BDE API Help file?

6. BDE API Question

7. How to obtain BDE's API information

8. BDE252.zip Need BDE API docs

9. Using BDE API Functions

10. How Do I Make BDE API Calls?

11. B.D.E. A.P.I. F.A.Q.

12. BDE API


 
Powered by phpBB® Forum Software