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

C / C++ / MFC

 
GeneralRe: help with try catch Pin
Alexandru Savescu5-Sep-02 23:23
Alexandru Savescu5-Sep-02 23:23 
QuestionHow can I know which computer access the file of my computer? Pin
Member 18556085-Sep-02 2:53
Member 18556085-Sep-02 2:53 
QuestionHow can I know which computer access the file of my computer? Pin
Anonymous5-Sep-02 2:53
Anonymous5-Sep-02 2:53 
GeneralButton Controls in OnCtlColor() Pin
adamUK5-Sep-02 2:47
adamUK5-Sep-02 2:47 
GeneralRe: Button Controls in OnCtlColor() Pin
Tomasz Sowinski5-Sep-02 2:57
Tomasz Sowinski5-Sep-02 2:57 
GeneralRe: Button Controls in OnCtlColor() Pin
adamUK5-Sep-02 3:13
adamUK5-Sep-02 3:13 
QuestionHow can I know which computer access the file of my computer? Pin
Anonymous5-Sep-02 2:44
Anonymous5-Sep-02 2:44 
GeneralDynamically compiling files into a new EXE Pin
Ambit5-Sep-02 2:26
Ambit5-Sep-02 2:26 
Hi,

I have written a small utility that generates a small setup program. The setup program uses an icon, bitmap and ini file that is selected by the user in the initial utility (the info about the icon and bitmap it should use are contained in the INI file). Essentially this works as follows:

Utility -> User selects a bitmap, icon and output path
-> Presses "Create"
-> The icon, bitmap and a premade executable are copied to
the output path
-> An ini file is generated with info about the bitmap and icon

Whenever the user opens the generated executable, the EXE looks for the INI file to find out which bitmap and INI file it should display.

So far, so good. However, what I really want to do is, instead of having the icon, bitmap and INI file stored as separate files in the same folder as the EXE, I would like to somehow compile them INTO the generated EXE. ie. So that instead of four files being created (EXE, icon, bitmap, INI), only one executable is created. (Perhaps an INI file isn't even needed if it is done this way?) In other words, I need to compile a new executable dynamically, from my program, based upon a premade EXE (I take it that it needs a premade EXE?).

Does anybody know how to do this? I see a lot of tools that do it, but I can't work out how they work.

Many thanks for any help,
Keith
GeneralRe: Dynamically compiling files into a new EXE Pin
Stephane Rodriguez.5-Sep-02 2:40
Stephane Rodriguez.5-Sep-02 2:40 
GeneralRe: Dynamically compiling files into a new EXE Pin
Ambit5-Sep-02 4:24
Ambit5-Sep-02 4:24 
GeneralRe: Dynamically compiling files into a new EXE Pin
Stephane Rodriguez.5-Sep-02 4:43
Stephane Rodriguez.5-Sep-02 4:43 
GeneralA C++ related question Pin
5-Sep-02 1:59
suss5-Sep-02 1:59 
GeneralRe: A C++ related question Pin
Tomasz Sowinski5-Sep-02 2:16
Tomasz Sowinski5-Sep-02 2:16 
GeneralRe: A C++ related question Pin
56789012345-Sep-02 2:17
56789012345-Sep-02 2:17 
GeneralRe: A C++ related question Pin
Gary R. Wheeler5-Sep-02 2:29
Gary R. Wheeler5-Sep-02 2:29 
GeneralSending mail using ShellExecute Pin
Jawache5-Sep-02 1:50
Jawache5-Sep-02 1:50 
GeneralRe: Sending mail using ShellExecute Pin
Jeremy Falcon5-Sep-02 4:00
professionalJeremy Falcon5-Sep-02 4:00 
GeneralRe: Sending mail using ShellExecute Pin
David Salter5-Sep-02 6:42
David Salter5-Sep-02 6:42 
GeneralSending email via console app Pin
Anonymous5-Sep-02 1:45
Anonymous5-Sep-02 1:45 
GeneralRe: Sending email via console app Pin
Stephane Rodriguez.5-Sep-02 1:59
Stephane Rodriguez.5-Sep-02 1:59 
GeneralRe: Sending email via console app Pin
Anonymous5-Sep-02 2:04
Anonymous5-Sep-02 2:04 
GeneralRe: Sending email via console app Pin
Stephane Rodriguez.5-Sep-02 2:26
Stephane Rodriguez.5-Sep-02 2:26 
GeneralShell Extension Uninstall Pin
mynab5-Sep-02 1:41
mynab5-Sep-02 1:41 
QuestionWhat are the differences bewteen ... Pin
chen5-Sep-02 0:45
chen5-Sep-02 0:45 
AnswerRe: What are the differences bewteen ... Pin
Jeremy Falcon5-Sep-02 4:06
professionalJeremy Falcon5-Sep-02 4:06 

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.