The xll library function(s)
Register
calls the Excel SDK API entry point xlfRegister
to hook up your C/C++ function to Excel. All versions of the function ulimately
call Register(const
Args&)
.
Typically this function is called for you by xlAutoOpen
. Only use this if you need to manually control registration. Keep in mind that if you do, then you are also responsible for
unregistering your function. You can do this using the xll library function
Unregister
.
All of the information Register
requires is collected in the
Args
class.