Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: ASSERT(m_pCtrlSite == NULL) error on activex addition Pin
shivditya27-May-07 16:56
shivditya27-May-07 16:56 
AnswerRe: ASSERT(m_pCtrlSite == NULL) error on activex addition Pin
Garth J Lancaster27-May-07 17:13
professionalGarth J Lancaster27-May-07 17:13 
QuestionRe: ASSERT(m_pCtrlSite == NULL) error on activex addition Pin
shivditya27-May-07 19:04
shivditya27-May-07 19:04 
Questionmap & pair Pin
C_Zealot26-May-07 18:33
C_Zealot26-May-07 18:33 
AnswerRe: map & pair Pin
Garth J Lancaster26-May-07 19:06
professionalGarth J Lancaster26-May-07 19:06 
AnswerRe: map & pair Pin
Michael Dunn26-May-07 20:42
sitebuilderMichael Dunn26-May-07 20:42 
QuestionBack Patching an EXE as a Post Build Step Pin
Jeffrey Walton26-May-07 17:14
Jeffrey Walton26-May-07 17:14 
AnswerRe: Back Patching an EXE as a Post Build Step Pin
Garth J Lancaster26-May-07 18:59
professionalGarth J Lancaster26-May-07 18:59 
I remember in (a galaxy/time long ago) when we used to write particular data to the end of the exe - when the exe next opened, it would detect if the data was there by a signature and use that (IIRC we also had to recalculate the checksum of the file) .. I dont think that would help you, this was in DOS days

I offer two suggestions (not sure if they will help) :-

a) store the data in the resource table - it can be modified by adding a custom post build step to fang off a program to edit the resource value

b) Using Matt Pietrek's notes on the PE format etc, maybe you can create a value in the .DATA segment (or such), and write directly back into the exe, by locating that segment/value in the compiled exe ??

apologies if this isnt what you want

'g'
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Jeffrey Walton26-May-07 20:29
Jeffrey Walton26-May-07 20:29 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Garth J Lancaster26-May-07 21:04
professionalGarth J Lancaster26-May-07 21:04 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Jeffrey Walton26-May-07 21:10
Jeffrey Walton26-May-07 21:10 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Jeffrey Walton27-May-07 19:26
Jeffrey Walton27-May-07 19:26 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Garth J Lancaster27-May-07 20:05
professionalGarth J Lancaster27-May-07 20:05 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Jeffrey Walton27-May-07 20:22
Jeffrey Walton27-May-07 20:22 
QuestionHow to parse FileShare permissions Pin
Akin Ocal26-May-07 16:47
Akin Ocal26-May-07 16:47 
QuestionRe: How to parse FileShare permissions Pin
Jeffrey Walton26-May-07 17:17
Jeffrey Walton26-May-07 17:17 
QuestionApply XP Theme to HTML Dialog Pin
Richard Andrew x6426-May-07 15:57
professionalRichard Andrew x6426-May-07 15:57 
QuestionDetect CDROM eject Pin
Anorexic Tribble26-May-07 14:09
Anorexic Tribble26-May-07 14:09 
AnswerRe: Detect CDROM eject Pin
Hans Dietrich26-May-07 15:47
mentorHans Dietrich26-May-07 15:47 
GeneralRe: Detect CDROM eject Pin
Anorexic Tribble26-May-07 23:28
Anorexic Tribble26-May-07 23:28 
QuestionHollow Font When Printing Pin
DanYELL26-May-07 13:09
DanYELL26-May-07 13:09 
AnswerRe: Hollow Font When Printing Pin
Hans Dietrich26-May-07 14:58
mentorHans Dietrich26-May-07 14:58 
QuestionScrabble game Pin
urbdos26-May-07 10:39
urbdos26-May-07 10:39 
AnswerRe: Scrabble game Pin
Hans Dietrich26-May-07 15:03
mentorHans Dietrich26-May-07 15:03 
GeneralRe: Scrabble game Pin
urbdos21-Jun-07 0:53
urbdos21-Jun-07 0:53 

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.