#include "ltwrappr.h"
virtual L_BOOL LVectorBase::IsAllocated(void)
Determines whether this class object has an allocated vector.
TRUE |
The vector is allocated. |
FALSE |
The vector is not allocated. |
Use this function to check whether this class object has an allocated vector.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Functions: |
|
Topics: |
L_INT LVectorBase__IsAllocatedExample(HWND hWnd)
{
UNREFERENCED_PARAMETER(hWnd);
LVectorBase* pVector = new(LVectorBase);
//This does not allocate the vector--just initializes VECTORHANDLE fields
if (pVector->IsAllocated())
MessageBox(hWnd, TEXT("Vector allocated"), TEXT(""), MB_OK);
else
MessageBox(hWnd, TEXT("Vector NOT allocated"), TEXT(""), MB_OK);
//...
return SUCCESS;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET