Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hi i want to generate binary states in sorting order in terms of no of 1's plz help Pin
Nelek27-Apr-08 1:56
protectorNelek27-Apr-08 1:56 
Questionx64 intrinsic function equivalent for inline assembly? Pin
Maxwell Chen25-Apr-08 0:41
Maxwell Chen25-Apr-08 0:41 
GeneralRe: x64 intrinsic function equivalent for inline assembly? Pin
Rajkumar R25-Apr-08 0:58
Rajkumar R25-Apr-08 0:58 
GeneralRe: x64 intrinsic function equivalent for inline assembly? Pin
Maxwell Chen25-Apr-08 1:15
Maxwell Chen25-Apr-08 1:15 
GeneralRe: x64 intrinsic function equivalent for inline assembly? Pin
Rajkumar R25-Apr-08 2:48
Rajkumar R25-Apr-08 2:48 
GeneralRe: x64 intrinsic function equivalent for inline assembly? Pin
Maxwell Chen25-Apr-08 5:05
Maxwell Chen25-Apr-08 5:05 
GeneralRe: x64 intrinsic function equivalent for inline assembly? Pin
Mike Dimmick25-Apr-08 3:43
Mike Dimmick25-Apr-08 3:43 
GeneralRe: x64 intrinsic function equivalent for inline assembly? Pin
Maxwell Chen25-Apr-08 5:03
Maxwell Chen25-Apr-08 5:03 
Mike Dimmick wrote:
I don't know what you were trying to achieve with the original code, though, as there is no 0E2h model-specific register on Intel processors.


The code in my OP (yes just four lines) came from the system ODM. I am doing the driver installer of card reader for certain upcoming new model of Gateway laptop. Due to some hardware reason, I have to disable the CLKRUN of Intel Device ID 2919 chip. So I made a helper utility to be invoked by the installer during driver installation. But before trying to disable CLKRUN, it has to disable the "Deep C4" of that Intel CPU (I did not ask), otherwise Windows (XP and Vista, 32- and 64-bit) freezes right away!

The code is to disable "Deep C4". It is working well under Vista 32-bit. I was going to make the 64-bit version today.

Thanks to your great help! I will try it next week. Smile | :)

  Maxwell Chen

GeneralRe: x64 intrinsic function equivalent for inline assembly? Pin
Ozer Karaagac25-Apr-08 13:38
professionalOzer Karaagac25-Apr-08 13:38 
QuestionRe: x64 intrinsic function equivalent for inline assembly? Pin
bob1697225-Apr-08 3:08
bob1697225-Apr-08 3:08 
GeneralRe: x64 intrinsic function equivalent for inline assembly? Pin
Mike Dimmick25-Apr-08 3:44
Mike Dimmick25-Apr-08 3:44 
Questiongdiplus problem Pin
trioum25-Apr-08 0:11
trioum25-Apr-08 0:11 
GeneralRe: gdiplus problem Pin
Rajkumar R25-Apr-08 0:29
Rajkumar R25-Apr-08 0:29 
GeneralRe: gdiplus problem Pin
Prasann Mayekar25-Apr-08 1:36
Prasann Mayekar25-Apr-08 1:36 
GeneralRe: gdiplus problem Pin
Hamid_RT25-Apr-08 3:04
Hamid_RT25-Apr-08 3:04 
Questionconnect dowsnt return error when i execute it with a disabled NIC?(windows sockets) Pin
izrafel24-Apr-08 23:28
izrafel24-Apr-08 23:28 
QuestionQuestion about downcast in c++ Pin
fantasy121524-Apr-08 23:23
fantasy121524-Apr-08 23:23 
GeneralRe: Question about downcast in c++ Pin
BadKarma24-Apr-08 23:57
BadKarma24-Apr-08 23:57 
QuestionRe: Question about downcast in c++ Pin
Rajkumar R25-Apr-08 0:00
Rajkumar R25-Apr-08 0:00 
QuestionWireless network message Pin
Ajay L D24-Apr-08 23:22
Ajay L D24-Apr-08 23:22 
GeneralRe: Wireless network message PinPopular
Rajkumar R25-Apr-08 0:34
Rajkumar R25-Apr-08 0:34 
Questionwhat about WM_CLOSE ,WM_DESTROY and WM_QUIT? Pin
xqhrs23224-Apr-08 23:13
xqhrs23224-Apr-08 23:13 
AnswerRe: what about WM_CLOSE ,WM_DESTROY and WM_QUIT? Pin
Rajkumar R25-Apr-08 0:50
Rajkumar R25-Apr-08 0:50 
AnswerRe: what about WM_CLOSE ,WM_DESTROY and WM_QUIT? Pin
David Crow25-Apr-08 3:08
David Crow25-Apr-08 3:08 
GeneralRe: what about WM_CLOSE ,WM_DESTROY and WM_QUIT? Pin
Michael Schubert25-Apr-08 4:30
Michael Schubert25-Apr-08 4:30 

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.