omniClientInitialize¶
Defined in OmniClient.h
-
bool
omniClientInitialize
(uint64_t version)¶ Perform some one-time initialization.
Note
It’s not strictly necessary to call this, because it will be automatically called the first time any of the other functions are called (except the logging functions). The reason you may want to manually call it are to verify the version in the header and dll match, and also so you have a consistent place where the library is initialized. This can sometimes be important for logging (so you get the initialization messages at the same place in the log every time).
- Parameters
version – Pass kOmniClientVersion to ensure the header matches the dll.
- Returns
false if there was a version mismatch.