Click here to Skip to main content
15,877,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Victor Nijegorodov10-Jan-21 9:57
Victor Nijegorodov10-Jan-21 9:57 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Litu Sahoo10-Jan-21 21:28
Litu Sahoo10-Jan-21 21:28 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Litu Sahoo11-Jan-21 3:50
Litu Sahoo11-Jan-21 3:50 
QuestionHow to use C program to open a text file using Notepad? Pin
Goh Kak Ng9-Jan-21 15:23
Goh Kak Ng9-Jan-21 15:23 
AnswerRe: How to use C program to open a text file using Notepad? Pin
Mircea Neacsu9-Jan-21 15:38
Mircea Neacsu9-Jan-21 15:38 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Goh Kak Ng9-Jan-21 17:26
Goh Kak Ng9-Jan-21 17:26 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Dave Kreskowiak9-Jan-21 17:31
mveDave Kreskowiak9-Jan-21 17:31 
SuggestionRe: How to use C program to open a text file using Notepad? Pin
Richard Deeming11-Jan-21 22:29
mveRichard Deeming11-Jan-21 22:29 
Make sure you're not doing that from an elevated process. Smile | :)

It's not quite DLL hijacking, but if an attacker could write a rogue notepad.exe into the %PATH% somewhere, they could then get your process to launch it with elevated privileges.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: How to use C program to open a text file using Notepad? Pin
Dave Kreskowiak12-Jan-21 5:54
mveDave Kreskowiak12-Jan-21 5:54 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Goh Kak Ng19-Jan-21 2:09
Goh Kak Ng19-Jan-21 2:09 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Richard Deeming19-Jan-21 21:24
mveRichard Deeming19-Jan-21 21:24 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Victor Nijegorodov9-Jan-21 21:42
Victor Nijegorodov9-Jan-21 21:42 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Goh Kak Ng10-Jan-21 1:44
Goh Kak Ng10-Jan-21 1:44 
QuestionRe: How to use C program to open a text file using Notepad? Pin
David Crow9-Jan-21 16:49
David Crow9-Jan-21 16:49 
AnswerRe: How to use C program to open a text file using Notepad? Pin
Mircea Neacsu9-Jan-21 17:11
Mircea Neacsu9-Jan-21 17:11 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Goh Kak Ng9-Jan-21 17:28
Goh Kak Ng9-Jan-21 17:28 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Mircea Neacsu9-Jan-21 17:41
Mircea Neacsu9-Jan-21 17:41 
GeneralRe: How to use C program to open a text file using Notepad? Pin
Goh Kak Ng11-Jan-21 1:59
Goh Kak Ng11-Jan-21 1:59 
QuestionOnMouseWheel and OnSetCursor interaction Pin
Member 132515887-Jan-21 16:01
Member 132515887-Jan-21 16:01 
AnswerRe: OnMouseWheel and OnSetCursor interaction Pin
Richard MacCutchan7-Jan-21 21:13
mveRichard MacCutchan7-Jan-21 21:13 
GeneralRe: OnMouseWheel and OnSetCursor interaction Pin
Member 1325158810-Jan-21 13:56
Member 1325158810-Jan-21 13:56 
GeneralRe: OnMouseWheel and OnSetCursor interaction Pin
Richard MacCutchan10-Jan-21 22:45
mveRichard MacCutchan10-Jan-21 22:45 
GeneralRe: OnMouseWheel and OnSetCursor interaction Pin
Member 1325158811-Jan-21 17:05
Member 1325158811-Jan-21 17:05 
QuestionHow to get access to CMyView variables from CMainFrame in MFC Pin
Member 1503370431-Dec-20 6:15
Member 1503370431-Dec-20 6:15 
QuestionRe: How to get access to CMyView variables from CMainFrame in MFC Pin
David Crow31-Dec-20 8:41
David Crow31-Dec-20 8:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.