![]() |
|
|
|
#1
|
|||
|
|||
|
@HarrySpoofer
thanks for nice piece of work! If you don't mind I"d provide some small feedback: 1) I'd do case insensitive comparison inside the GetProcessIdByName() routine -> if (pe.szExeFile == processName) 2) compiler is unhappy on setting signed int to unsided dword; warning C4245: 'initializing': conversion from 'int' to 'DWORD', signed/unsigned mismatch do you know if Windows has got some define for wrong pid values? eg smth like INVALID_HANDLE_VALUE 3) be honest, did you leave an Easter Egg in one routine? ![]() kudos! |
| The Following User Gave Reputation+1 to sendersu For This Useful Post: | ||
niculaita (10-11-2024) | ||
|
#2
|
|||
|
|||
|
The code is pretty much identical to the https://github.com/lilkui/runasti repository.
The only difference is that somebody refactored everything to camel case (e.g. "get_process_id_by_name(const string process_name)" becomes "GetProcessIdByName(wstring processName)"). The code in the repository already has some of the bugs fixed! |
| The Following 3 Users Say Thank You to Kerlingen For This Useful Post: | ||
|
#3
|
|||
|
|||
|
Quote:
I made the changes you suggested and updated the attachment and the link. BTW: I did not put an Easter egg in it, I added new icons, though. Last edited by HarrySpoofer; 10-12-2024 at 05:34. |
| The Following 4 Users Say Thank You to HarrySpoofer For This Useful Post: | ||
niculaita (10-16-2024), ontryit (12-19-2024), sendersu (10-12-2024), wx69wx2023 (10-12-2024) | ||
|
#4
|
|||
|
|||
|
Quote:
I was under impression this line is it - >> wctomb_s(&mbCharLen, &buff[0], 42, wc); |
| The Following User Says Thank You to sendersu For This Useful Post: | ||
ontryit (12-19-2024) | ||
|
#5
|
|||
|
|||
|
Quote:
Quote:
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. |
| The Following User Says Thank You to HarrySpoofer For This Useful Post: | ||
sendersu (10-12-2024) | ||
![]() |
| Tags |
| context menu, source, trusted installer |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disabled (ungrayed) Menu | ivanov | General Discussion | 13 | 06-21-2005 15:05 |
| BP to find the SAVE AS menu | Gato_negro | General Discussion | 9 | 04-09-2005 02:39 |