Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 21:17
alex.barylski2-Sep-04 21:17 
GeneralRe: STL quickie Pin
Johann Gerell2-Sep-04 23:03
Johann Gerell2-Sep-04 23:03 
GeneralRe: STL quickie Pin
PJ Arends2-Sep-04 20:42
professionalPJ Arends2-Sep-04 20:42 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 20:49
alex.barylski2-Sep-04 20:49 
GeneralSetting "Service" dependency programatically Pin
Qasim Jalil2-Sep-04 19:36
sussQasim Jalil2-Sep-04 19:36 
GeneralRe: Setting "Service" dependency programatically Pin
parths2-Sep-04 21:09
parths2-Sep-04 21:09 
GeneralChange Exe contents while running Pin
Arsalan Malik2-Sep-04 18:23
Arsalan Malik2-Sep-04 18:23 
GeneralRe: Change Exe contents while running Pin
bmw50022-Sep-04 18:35
bmw50022-Sep-04 18:35 
I don't think its possible to do that while its running. The solution I can think of might take a little work. Basically u write another app and insert the binary data for that app into a resource in your main app. Then you have a function that extracts the resource data using api calls and saves that file in a temporary folder, wherever. It then looks at the end of that file, and inserts the data that you want to change in your main app. Then it executes that program and closes itself. The extracted program then waits a second or two for the main program to end and then looks at itself and writes that data to the closed main program. Then it executes the main program again and closes itself. You can look it up, but I don't recall that you can write resources to the app you are executing the call from at runtime. And you definitely can't obtain write privilages to yourself while your running. Don't take my word for it though.
GeneralRe: Change Exe contents while running Pin
alex.barylski2-Sep-04 18:37
alex.barylski2-Sep-04 18:37 
GeneralRe: Change Exe contents while running Pin
bmw50022-Sep-04 18:52
bmw50022-Sep-04 18:52 
GeneralRe: Change Exe contents while running Pin
2249172-Sep-04 20:54
2249172-Sep-04 20:54 
GeneralRe: Change Exe contents while running Pin
jmkhael2-Sep-04 22:14
jmkhael2-Sep-04 22:14 
GeneralRe: Change Exe contents while running Pin
David Crow3-Sep-04 2:35
David Crow3-Sep-04 2:35 
Generalport scan detector Pin
Anonymous2-Sep-04 18:19
Anonymous2-Sep-04 18:19 
GeneralRe: port scan detector Pin
bmw50022-Sep-04 19:51
bmw50022-Sep-04 19:51 
GeneralRe: port scan detector Pin
Antony M Kancidrowski2-Sep-04 23:16
Antony M Kancidrowski2-Sep-04 23:16 
GeneralRe: port scan detector Pin
bmw50025-Sep-04 14:43
bmw50025-Sep-04 14:43 
GeneralRe: port scan detector Pin
Antony M Kancidrowski6-Sep-04 2:53
Antony M Kancidrowski6-Sep-04 2:53 
GeneralRe: port scan detector Pin
Antony M Kancidrowski2-Sep-04 23:11
Antony M Kancidrowski2-Sep-04 23:11 
GeneralNon-Static Callbacks Pin
bmw50022-Sep-04 18:06
bmw50022-Sep-04 18:06 
GeneralRe: Non-Static Callbacks Pin
Indrawati2-Sep-04 19:10
Indrawati2-Sep-04 19:10 
GeneralRe: Non-Static Callbacks Pin
bmw50022-Sep-04 19:47
bmw50022-Sep-04 19:47 
GeneralRe: Non-Static Callbacks Pin
Indrawati2-Sep-04 19:58
Indrawati2-Sep-04 19:58 
GeneralRebar Band Info Problem Pin
Dan Neilsen2-Sep-04 15:08
Dan Neilsen2-Sep-04 15:08 
GeneralRe: Rebar Band Info Problem Pin
Dan Neilsen2-Sep-04 15:13
Dan Neilsen2-Sep-04 15:13 

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.