The IDAPI.CFG (or BDE.CFG) file on your development machine contains an alias called PDXExperts, which I suspect points to the Experts directory below your Paradox directory (e.g. C:\Program Files\Corel\WPO2002\Paradox\Experts\). This alias has not been defined on your target machine.
Your application needs to add this as an alias before using the item in that directory. You can do this in several ways, but I prefer to use start-up code that defines project (temporary) aliases for my applications. This prevents me from having to fiddle with the end-user's .CFG and also makes certain that my application's needs are met.
Use something like this:
Code:
const
k_ANAME = "pdxExperts"
endConst
if getAliasPath( k_ANAME ) = "" then
addProjectAlias( k_ANAME, "Standard", expertsDir() )
endIf
If you choose to add a permanent alias, I'd consider creating a utility script that uses similar code, but replaces AddProjectAlias() with addAlias().
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.