The STP7NK40ZFP is obsolete, but in the package TO220FP, not DPAK.
If you need this insulated package you could take a look at the STF11N65M2.
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.