Uwe Bonnes <[EMAIL PROTECTED]> writes:

> Changing this to 
>     hInstance = pdb? pdb->task :(tdb && tdb->hInstance)?tdb->hInstance : 0;
> 
> so that there is a preference on returning the task value, makes the
> program progress much further.
> 
> Does this change look right. Or should I look at something going wrong 
> with the toolhelp functions?

It doesn't look right no. WinExec16 is supposed to return an instance,
not a task, so the code is correct IMO.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to