View Single Post
  #2  
Old 10-12-2024, 05:22
HarrySpoofer HarrySpoofer is offline
Friend
 
Join Date: Jul 2018
Posts: 47
Rept. Given: 0
Rept. Rcvd 5 Times in 3 Posts
Thanks Given: 10
Thanks Rcvd at 50 Times in 19 Posts
HarrySpoofer Reputation: 5
Quote:
Originally Posted by sendersu View Post
I was under impression this line is it -
>> wctomb_s(&mbCharLen, &buff[0], 42, wc);
Well it is the answer to the ultimate question of life, the universe, and everything but I should have put MB_LEN_MAX in there.

Quote:
Originally Posted by sendersu View Post
one more feedback:
is it OK to delegate memory zero-ing to compiler?
Yes, it is a matter of habit

Quote:
Originally Posted by sendersu View Post
one more question:
it is really require d to enable this priv lvl?
>EnablePrivilege(SE_DEBUG_NAME);
Yes, this is the reason why you need to be an `Administrator` to become the `Trusted Installer`

Last edited by HarrySpoofer; 10-12-2024 at 05:37.
Reply With Quote
The Following User Says Thank You to HarrySpoofer For This Useful Post:
sendersu (10-12-2024)