2006. április 15., szombat

Init the BDE when it is located in another directory than the default one


Problem/Question/Abstract:

I need to use a BDE that is placed in another directory than default. How can I do it? DbiInit(pDbiEnv) doesn't work when pDbiEnv < > nil (not default).

Answer:

pDbiEnv := nil;
check(DbiInit(pDbiEnv));

or if you don't need the pointer simply

check(DbiInit(nil));

Nincsenek megjegyzések:

Megjegyzés küldése