C++
ACDBCORE2D_PORT Acad::ErrorStatus acdbValidateSetup( const AcLocale& loc );
File
dbmain.h
Description
This function must be called early in execution of an RealDWG application. It validates that the application has provided everything that AcDb requires and it does some further setup. There is a contract that RealDWG applications must call acdbValidateSetup() before using AcDb APIs.
The following requirements must be met in order for this function to succeed:
- A valid host application must be registered so that acdbHostApplicationServices() does not return null. If acdbHostApplicationServices::findFile() returns null, then this function fails and returns Acad::eNullObjectPointer.
- The acdb17???res.dll file for the language specified by lcid must be available.
Parameters
Parameters | Description |
---|---|
loc | Input locale |