The following object file shipped with OpenEdge is required to build an HLC library:
  • prohlcdll.obj\prohlcdll.o—In addition to the entry points for the HLC interface defined in hlc.h, this file holds the following entry points:
    • void *promalloc(size)—Returns the memory allocated to the current ABL session.
    • void profree(void *ret)—Frees the memory allocated to the current ABL session using promalloc().
    • void proSetGlobalStruct(void *ptr)—Saves a pointer to a user-defined global data structure in the context of the current ABL session. The global structure is returned via a call to proGetGlobalStruct*().
    • void *proGetGlobalStruct()—Returns the pointer to the memory saved by the call to proSetGlobalStruct().