I need to execute external programs from an ISAPI script, windows NT will not let me do so beacuse the ISAPI runs as a service, that means that everything works when debugging, but not when running from IIS.
I need a good explaination and full source that can execute a user program from ISAPI preferably one that can interact with the desktop
This (part of my executenow procedure) fails even when debugging the ISAPI
CreateProcessAsUser sets error ERROR_PRIVILEGE_NOT_HELD
loggedon := LogonUser(pchar(username),
result := loggedon and CreateProcessAsUser(htoken,
if loggedon then closehandle(htoken);