Click here to Skip to main content
15,886,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Context Menu Pin
Iain Clarke, Warrior Programmer17-Dec-07 0:33
Iain Clarke, Warrior Programmer17-Dec-07 0:33 
QuestionHow to Color a cell in a ListControl? Pin
Vikas_12316-Dec-07 20:40
Vikas_12316-Dec-07 20:40 
GeneralRe: How to Color a cell in a ListControl? Pin
Naveen16-Dec-07 21:02
Naveen16-Dec-07 21:02 
GeneralRe: How to Color a cell in a ListControl? Pin
Vikas_12316-Dec-07 22:53
Vikas_12316-Dec-07 22:53 
GeneralMFC vs .NET vs Qt? (Maybe C# even?) [long post] Pin
Member 451867316-Dec-07 20:12
Member 451867316-Dec-07 20:12 
QuestionCan we edit any item in CListCtrl? Pin
KASR116-Dec-07 19:34
KASR116-Dec-07 19:34 
AnswerRe: Can we edit any item in CListCtrl? Pin
Naveen16-Dec-07 19:51
Naveen16-Dec-07 19:51 
Generalabout inline asm jump a address table. Pin
HOW WHAT16-Dec-07 19:27
HOW WHAT16-Dec-07 19:27 
while (...)<br />
{<br />
    case 8:<br />
        ....<br />
    case 7:<br />
        ....<br />
    case 6:<br />
        ....<br />
......<br />
}


VC compile optimize:
...
00007 83 e8 01 sub eax, 1
0000a 74 16 je SHORT $LN2@TestFun1
0000c 83 e8 01 sub eax, 1
0000f 74 0b je SHORT $LN3@TestFun1
00011 83 e8 01 sub eax, 1
00014 75 1b jne SHORT $LN1@TestFun1
...

how to let vc don't optimize like that,like nether.


jmp DWORD PTR $LN17@TestFun1[esi*4]
.......

$LN17@TestFun1:
DD $LN10@TestFun1
DD $LN1@TestFun1
DD $LN2@TestFun1
DD $LN3@TestFun1
DD $LN4@TestFun1
DD $LN5@TestFun1
DD $LN6@TestFun1
DD $LN7@TestFun1

------------------------------------------------------------------

or how to write inline asm jump a address table. but in inline asm can't use DD.

Thanks.
GeneralRe: about inline asm jump a address table. Pin
Mike Dimmick18-Dec-07 6:51
Mike Dimmick18-Dec-07 6:51 
GeneralCreateProcess(...) Error Pin
ashishbhatt16-Dec-07 18:48
ashishbhatt16-Dec-07 18:48 
GeneralRe: CreateProcess(...) Error Pin
Naveen16-Dec-07 18:59
Naveen16-Dec-07 18:59 
GeneralRe: CreateProcess(...) Error Pin
ashishbhatt16-Dec-07 21:47
ashishbhatt16-Dec-07 21:47 
GeneralCount words in Rich Edit Cintrol Pin
CodingLover16-Dec-07 18:05
CodingLover16-Dec-07 18:05 
NewsRe: Count words in Rich Edit Cintrol Pin
CodingLover16-Dec-07 19:50
CodingLover16-Dec-07 19:50 
GeneralRe: Count words in Rich Edit Cintrol Pin
Nelek16-Dec-07 22:28
protectorNelek16-Dec-07 22:28 
QuestionError Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 17:52
T.RATHA KRISHNAN16-Dec-07 17:52 
GeneralRe: Error Spawning rc.exe Pin
Nibu babu thomas16-Dec-07 18:18
Nibu babu thomas16-Dec-07 18:18 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 18:19
Naveen16-Dec-07 18:19 
QuestionRe: Error Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 18:44
T.RATHA KRISHNAN16-Dec-07 18:44 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 18:49
Naveen16-Dec-07 18:49 
QuestionRe: Error Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 18:54
T.RATHA KRISHNAN16-Dec-07 18:54 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 18:54
Naveen16-Dec-07 18:54 
QuestionRe: Error Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 19:00
T.RATHA KRISHNAN16-Dec-07 19:00 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 19:09
Naveen16-Dec-07 19:09 
QuestionRe: Error Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 19:28
T.RATHA KRISHNAN16-Dec-07 19:28 

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.