| layout | default-layout |
|---|---|
| title | class CCoreModule - Dynamsoft Capture Vision C++ Edition API Reference |
| description | This page shows the C++ edition of the class CCoreModule in Dynamsoft Utility Module. |
| keywords | core module, c++ |
| needAutoGenerateSidebar | true |
| needGenerateH3Content | true |
| breadcrumbText | C++ CCoreModule Class |
The CCoreModule class defines general functions in the core module.
Namespace: dynamsoft::basic_structures
Assembly: DynamsoftCore
class CCoreModule | Method | Description |
|---|---|
| GetVersion | Returns the version of the core module. |
| AllocateBytes | Allocates a block of memory. |
| FreeBytes | Frees a block of memory. |
Returns the version of the core module.
static const char* GetVersion();Parameters
None.
Return Value
Returns a const char pointer representing the version of the core module.
Allocates a block of memory.
static void* AllocateBytes(size_t length);Parameters
[in] length The number of bytes to allocate.
Return Value
Returns a pointer to the allocated memory.
Frees a block of memory.
static void FreeBytes(void* ptr);Parameters
[in] ptr A pointer to the memory to free.