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

C / C++ / MFC

 
GeneralRe: Briefcase shell context menu Pin
Iain Clarke, Warrior Programmer18-Apr-08 4:05
Iain Clarke, Warrior Programmer18-Apr-08 4:05 
GeneralWH_CBT Hook - Transparent Menues Pin
Rahvin18-Apr-08 3:36
Rahvin18-Apr-08 3:36 
Questionconst issue... [modified] Pin
paulstandard18-Apr-08 3:29
paulstandard18-Apr-08 3:29 
GeneralRe: const issue... Pin
David Crow18-Apr-08 4:47
David Crow18-Apr-08 4:47 
GeneralRe: const issue... Pin
paulstandard18-Apr-08 5:01
paulstandard18-Apr-08 5:01 
GeneralRe: const issue... Pin
Matthew Faithfull18-Apr-08 6:49
Matthew Faithfull18-Apr-08 6:49 
GeneralRe: const issue... Pin
CPallini18-Apr-08 9:10
mveCPallini18-Apr-08 9:10 
Generalthat answers problem 2...thanks Mathew [modified] Pin
paulstandard18-Apr-08 9:56
paulstandard18-Apr-08 9:56 
spot on Matthew!
I did a disassembly and ds:dword_4110E8 is indeed in .rdata and hence the error.
the first issue, I am still getting it even with optimization off.
<br />
 _main           proc near               ; CODE XREF: start+AFp<br />
.text:00401080                 push    14h<br />
.text:00401082                 push    offset unk_4140B0<br />
.text:00401087                 push    0Ch<br />
.text:00401089                 mov     ecx, offset unk_417EE0<br />
.text:0040108E                 mov     ds:dword_4110E8, 14h<br />
.text:00401098                 call    sub_4010B0<br />
.text:0040109D                 push    eax<br />
.text:0040109E                 call    sub_4014E0<br />
.text:004010A3                 add     esp, 8<br />
.text:004010A6                 mov     ecx, eax<br />
.text:004010A8                 call    sub_4010B0<br />
.text:004010AD                 retn<br />
.text:004010AD _main           endp<br />
<br />
.rdata:004110E8 dword_4110E8    dd 0Ch   <br />


modified on Friday, April 18, 2008 4:38 PM

Generalcause of problem one ... Pin
paulstandard18-Apr-08 10:35
paulstandard18-Apr-08 10:35 
QuestionHow to get rid of these errors [modified] Pin
pl_kode18-Apr-08 3:25
pl_kode18-Apr-08 3:25 
GeneralRe: How to get rid of these errors Pin
David Crow18-Apr-08 4:01
David Crow18-Apr-08 4:01 
QuestionRe: How to get rid of these errors Pin
CPallini18-Apr-08 4:02
mveCPallini18-Apr-08 4:02 
GeneralRe: How to get rid of these errors Pin
pl_kode18-Apr-08 4:24
pl_kode18-Apr-08 4:24 
QuestionRe: How to get rid of these errors Pin
David Crow18-Apr-08 4:43
David Crow18-Apr-08 4:43 
GeneralRe: How to get rid of these errors Pin
pl_kode18-Apr-08 5:00
pl_kode18-Apr-08 5:00 
QuestionRe: How to get rid of these errors Pin
David Crow18-Apr-08 5:07
David Crow18-Apr-08 5:07 
GeneralRe: How to get rid of these errors Pin
Iain Clarke, Warrior Programmer18-Apr-08 4:10
Iain Clarke, Warrior Programmer18-Apr-08 4:10 
QuestionMultiGraph Programming in VC++ Pin
Andy Rama18-Apr-08 2:40
Andy Rama18-Apr-08 2:40 
QuestionHow can I read the attributes of files? Pin
ritz123418-Apr-08 2:23
ritz123418-Apr-08 2:23 
AnswerRe: How can I read the attributes of files? Pin
Rajesh R Subramanian18-Apr-08 2:45
professionalRajesh R Subramanian18-Apr-08 2:45 
AnswerRe: How can I read the attributes of files? Pin
David Crow18-Apr-08 2:55
David Crow18-Apr-08 2:55 
GeneralRe: How can I read the attributes of files? Pin
ritz123418-Apr-08 3:05
ritz123418-Apr-08 3:05 
QuestionRe: How can I read the attributes of files? Pin
David Crow18-Apr-08 3:09
David Crow18-Apr-08 3:09 
GeneralRe: How can I read the attributes of files? Pin
ritz123418-Apr-08 3:12
ritz123418-Apr-08 3:12 
GeneralRe: How can I read the attributes of files? Pin
David Crow18-Apr-08 3:18
David Crow18-Apr-08 3:18 

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.