No, you can't build type information into a DLL that uses interface pointers in the function calls. IDispatch pointers come from Windows SDK interfaces that we can translate from the C data type to the ActiveX data type. Your only option would be to create wrapper code around these functions that cast the LPDISPATCH types to some other pointer (such as void *) and then when you use the functions from another program cast the void * pointers to a IDispatch pointer.
Best Regards,
Chris Matthews
National Instruments