ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Component Manager Functions > IG_comm_comp_attach |
This function allows you to attach ImageGear component defined by lpCompName to the main ImageGear module.
Copy Code
|
|
---|---|
AT_ERRCODE LACCUAPI IG_comm_comp_attach ( LPCHAR lpCompName ); |
Name | Type | Description |
lpCompName | LPCHAR | The Name of ImageGear Component to be linked with main ImageGear module. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
Copy Code
|
|
---|---|
... #include "i_ART.h" ... /* Initialize ART component */ IG_comm_comp_attach( "ART" ); ... |
By default, ImageGear searches for components in the same directory where main ImageGear module is located. You can specify a different path to the folder containing component modules using global parameters API function IG_gctrl_item_set() and "COMM.PATH" global parameter.