Closed woofer4444 closed 2 years ago
I need more context
Im using cli wrap in a website running as a service account, the piece Im trying to run is looking at a user's registry. When the process runs, it crashes instantly with an error code of -1073741502. Using that number of I found something stack overflow which uses the base Process control, https://stackoverflow.com/a/2089989 and they said to use LoadUserProfile
Details
In some very hard ways to reproduce I was coming across a return value of -1073741502, eventually I found a piece that said "long story short, use LoadUserProfile". Unfortunately this is not exposed in your api.