Click here to Skip to main content
16,011,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help with memory leak Pin
Craig Miller12-Sep-01 10:30
Craig Miller12-Sep-01 10:30 
GeneralRe: Please help with memory leak Pin
Tim Deveaux12-Sep-01 11:05
Tim Deveaux12-Sep-01 11:05 
QuestionHow can i register a .dll or .ocx file in my program similar register it using regsvr32.exe? Pin
12-Sep-01 4:37
suss12-Sep-01 4:37 
AnswerRe: How can i register a .dll or .ocx file in my program similar register it using regsvr32.exe? Pin
12-Sep-01 4:41
suss12-Sep-01 4:41 
AnswerRe: How can i register a .dll or .ocx file in my program similar register it using regsvr32.exe? Pin
Ben M. Stokland12-Sep-01 4:56
Ben M. Stokland12-Sep-01 4:56 
GeneralSHGetSpecialFolderLocation error !!! Pin
Fredb4512-Sep-01 4:09
Fredb4512-Sep-01 4:09 
GeneralWrite some short options into EXE Pin
12-Sep-01 3:57
suss12-Sep-01 3:57 
GeneralRe: Write some short options into EXE Pin
Derek Waters12-Sep-01 14:03
Derek Waters12-Sep-01 14:03 
You want to write data directly into your executable?! Really? Since MP3 files are data files, it's up to the program that uses them to define where the data goes. But I don't think you can guarantee you'll know where your compiler will put its binary data without delving into the details of the PE format.

I would suggest you create a binary resource in your executable that just contains the options you need. You can then load the values using the standard LoadResource calls.

When you need to update the resource, you can use the BeginUpdateResource, UpdateResource and EndUpdateResource functions to do so, without having to worry about copying and deleting your executable.


------------------------
Derek Waters
derek@lj-oz.com
GeneralRe: Write some short options into EXE Pin
12-Sep-01 18:05
suss12-Sep-01 18:05 
QuestionHow to access Access Base in VC++6.0 Pin
12-Sep-01 3:27
suss12-Sep-01 3:27 
AnswerRe: How to access Access Base in VC++6.0 Pin
Martin Ziacek12-Sep-01 3:46
Martin Ziacek12-Sep-01 3:46 
AnswerRe: How to access Access Base in VC++6.0 Pin
Carlos Antollini12-Sep-01 3:49
Carlos Antollini12-Sep-01 3:49 
Generalunknow output debbug message Pin
12-Sep-01 3:17
suss12-Sep-01 3:17 
GeneralRe: unknow output debbug message Pin
Tomasz Sowinski12-Sep-01 3:26
Tomasz Sowinski12-Sep-01 3:26 
GeneralRe: unknow output debbug message Pin
Carlos Antollini12-Sep-01 3:43
Carlos Antollini12-Sep-01 3:43 
GeneralRe: unknow output debbug message Pin
Rashid Thadha12-Sep-01 5:36
Rashid Thadha12-Sep-01 5:36 
GeneralRe: unknow output debbug message Pin
12-Sep-01 6:15
suss12-Sep-01 6:15 
GeneralCreateWindow Pin
Nick Armstrong12-Sep-01 3:12
Nick Armstrong12-Sep-01 3:12 
GeneralRe: CreateWindow Pin
12-Sep-01 3:20
suss12-Sep-01 3:20 
GeneralRe: CreateWindow Pin
Nick Armstrong12-Sep-01 3:38
Nick Armstrong12-Sep-01 3:38 
GeneralRe: CreateWindow Pin
Steen Krogsgaard12-Sep-01 4:19
Steen Krogsgaard12-Sep-01 4:19 
GeneralRe: CreateWindow Pin
Nick Armstrong12-Sep-01 5:01
Nick Armstrong12-Sep-01 5:01 
GeneralRe: CreateWindow Pin
Carlos Antollini12-Sep-01 3:34
Carlos Antollini12-Sep-01 3:34 
GeneralRe: CreateWindow Pin
Tomasz Sowinski12-Sep-01 3:36
Tomasz Sowinski12-Sep-01 3:36 
GeneralRe: CreateWindow Pin
Nick Armstrong14-Sep-01 3:39
Nick Armstrong14-Sep-01 3:39 

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.