murrayju / CreateProcessAsUser

Creates a process in a different Windows session
MIT License
369 stars 114 forks source link

Removed integer cast as it can cause an OverflowException #7

Closed supergonzales closed 8 years ago

supergonzales commented 8 years ago

I tried to use it as is and the pSessionInfo was too big to be cast to an integer. Works the same without casting it.

murrayju commented 8 years ago

Looks good to me.