Click here to Skip to main content
15,911,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to read resource info from an exe file directly? Pin
includeh1014-Dec-04 22:46
includeh1014-Dec-04 22:46 
AnswerRe: how to read resource info from an exe file directly? Pin
David Crow15-Dec-04 4:08
David Crow15-Dec-04 4:08 
GeneralNeed help playing sound with DirectSound Pin
rikkemus14-Dec-04 22:34
rikkemus14-Dec-04 22:34 
GeneralConvert MFC Program inot a Class Pin
sweep12314-Dec-04 21:55
sweep12314-Dec-04 21:55 
GeneralRe: Convert MFC Program inot a Class Pin
Maximilien15-Dec-04 2:14
Maximilien15-Dec-04 2:14 
GeneralRe: Convert MFC Program inot a Class Pin
sweep12315-Dec-04 5:48
sweep12315-Dec-04 5:48 
GeneralMemory Overwrite Pin
vilmer14-Dec-04 21:55
vilmer14-Dec-04 21:55 
GeneralRe: Memory Overwrite Pin
Cedric Moonen14-Dec-04 22:48
Cedric Moonen14-Dec-04 22:48 
vilmer wrote:
static char* manuf[512];

vilmer wrote:
Filling in the manuf array, when I reach the 264th item, the app starts overwriting the memory space allocated for the DS object. So any assignment operation to that object produces an error.



How are you filling the array ? You know that manuf is an array of pointers, and not a string ? You have an array of 512 'strings' that are undefined (that is all adresses are invalid at the begining).
Post the code, so maybe we can help you.
GeneralRe: Memory Overwrite Pin
vilmer15-Dec-04 1:36
vilmer15-Dec-04 1:36 
QuestionWhy does reading a string cause errors? Pin
tpndtbk14-Dec-04 21:35
tpndtbk14-Dec-04 21:35 
AnswerRe: Why does reading a string cause errors? Pin
Budric B.15-Dec-04 3:42
Budric B.15-Dec-04 3:42 
Questionhow to compress audio data Pin
yingkou14-Dec-04 21:32
yingkou14-Dec-04 21:32 
AnswerRe: how to compress audio data Pin
rikkemus14-Dec-04 22:55
rikkemus14-Dec-04 22:55 
GeneralRe: how to compress audio data Pin
yingkou14-Dec-04 23:47
yingkou14-Dec-04 23:47 
GeneralRe: how to compress audio data Pin
rikkemus15-Dec-04 8:41
rikkemus15-Dec-04 8:41 
AnswerRe: how to compress audio data Pin
markkuk15-Dec-04 0:01
markkuk15-Dec-04 0:01 
QuestionHow to Use Dll in VC++ Pin
SivaramanDhamodharan14-Dec-04 19:12
SivaramanDhamodharan14-Dec-04 19:12 
AnswerRe: How to Use Dll in VC++ Pin
vishalmore14-Dec-04 22:13
vishalmore14-Dec-04 22:13 
GeneralRe: How to Use Dll in VC++ Pin
SivaramanDhamodharan14-Dec-04 23:19
SivaramanDhamodharan14-Dec-04 23:19 
GeneralBad Dll calling convention Pin
kk_vc14-Dec-04 17:49
kk_vc14-Dec-04 17:49 
GeneralRe: Bad Dll calling convention Pin
Ryan Binns14-Dec-04 17:51
Ryan Binns14-Dec-04 17:51 
Generalwrite to a text file Pin
dex_ter1114-Dec-04 17:47
dex_ter1114-Dec-04 17:47 
GeneralRe: write to a text file Pin
vishalmore14-Dec-04 17:56
vishalmore14-Dec-04 17:56 
GeneralRe: write to a text file Pin
dex_ter1114-Dec-04 19:01
dex_ter1114-Dec-04 19:01 
GeneralRe: write to a text file Pin
vishalmore14-Dec-04 19:10
vishalmore14-Dec-04 19:10 

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.