Hi Nick,

you should surround the function in the other package with
Code:
#IFDEF GET_SHELLEXECUTE
#ELSE
// insert function here
#ENDIF
just as is done in MapiDllCalls.pkg.