Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

RegisterServiceCtrlHandlerEx Access denied

$
0
0
Hi,

I am trying to do P-invoke to to RegisterServiceCtrlHandlerEx it fails, returns 0 which is invalid handle and the Marshal.GetLastWin32Error() returns 0xc0000005.

Any idea? I have tried the same thing via C++ application, gives the same error.

Venkat

Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>