Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGetting Raw USB Keyboard input in C++ Pin
mark856925-Nov-10 0:46
mark856925-Nov-10 0:46 
AnswerRe: Getting Raw USB Keyboard input in C++ Pin
CPallini25-Nov-10 1:02
mveCPallini25-Nov-10 1:02 
AnswerRe: Getting Raw USB Keyboard input in C++ Pin
Randor 25-Nov-10 3:55
professional Randor 25-Nov-10 3:55 
QuestionHow to add CRecordset derived class in VC++ 2008 Pin
eyalle24-Nov-10 23:25
eyalle24-Nov-10 23:25 
AnswerRe: How to add CRecordset derived class in VC++ 2008 Pin
Dudi Avrahamov27-Nov-10 22:01
Dudi Avrahamov27-Nov-10 22:01 
QuestionUser Mode vs Kernel Mode Pin
msr_codeproject24-Nov-10 18:26
msr_codeproject24-Nov-10 18:26 
AnswerRe: User Mode vs Kernel Mode Pin
yu-jian24-Nov-10 22:21
yu-jian24-Nov-10 22:21 
GeneralRe: User Mode vs Kernel Mode Pin
Sauro Viti24-Nov-10 23:17
professionalSauro Viti24-Nov-10 23:17 
yu-jian wrote:
In the kernel Mode, all the program can run, it runs on the ring0 and can visit all the I/O port.


What does all the program can run mean? In kernel mode your code runs at ring 0, so you can use privileged instructions of the processor, but you have too much constraints. For example you can call only a subset of the system API depending on the IRQL your driver is running on.


yu-jian wrote:
In the user Mode. only a part of program can be run. It runs on the ring3. Some operations of the program will be fobidden.


What does this sentence means? At ring 3 you cannot use privileged instructions of the processor: if you try to use them an exception is thrown. Said that there are no limits on which parts of your code could be executed or not.
AnswerRe: User Mode vs Kernel Mode Pin
Richard MacCutchan24-Nov-10 22:41
mveRichard MacCutchan24-Nov-10 22:41 
QuestionProblems with other people's Vista! Pin
Member 86892624-Nov-10 5:46
Member 86892624-Nov-10 5:46 
AnswerRe: Problems with other people's Vista! Pin
Maximilien24-Nov-10 7:38
Maximilien24-Nov-10 7:38 
AnswerRe: Problems with other people's Vista! Pin
Code-o-mat24-Nov-10 22:35
Code-o-mat24-Nov-10 22:35 
AnswerRe: Problems with other people's Vista! Pin
Member 86892629-Nov-10 10:42
Member 86892629-Nov-10 10:42 
AnswerRe: Problems with other people's Vista! Pin
Chuck O'Toole29-Nov-10 11:28
Chuck O'Toole29-Nov-10 11:28 
AnswerRe: Problems with other people's Vista! Pin
Member 8689262-Dec-10 6:17
Member 8689262-Dec-10 6:17 
QuestionArray of size ZERO Pin
AmbiguousName24-Nov-10 5:45
AmbiguousName24-Nov-10 5:45 
AnswerRe: Array of size ZERO Pin
Jalapeno Bob24-Nov-10 5:59
professionalJalapeno Bob24-Nov-10 5:59 
GeneralRe: Array of size ZERO Pin
Eugen Podsypalnikov24-Nov-10 12:23
Eugen Podsypalnikov24-Nov-10 12:23 
AnswerRe: Array of size ZERO Pin
Maximilien24-Nov-10 7:10
Maximilien24-Nov-10 7:10 
AnswerRe: Array of size ZERO Pin
Randor 24-Nov-10 7:10
professional Randor 24-Nov-10 7:10 
AnswerRe: Array of size ZERO Pin
«_Superman_»24-Nov-10 7:22
professional«_Superman_»24-Nov-10 7:22 
AnswerRe: Array of size ZERO Pin
Sauro Viti24-Nov-10 7:37
professionalSauro Viti24-Nov-10 7:37 
AnswerRe: Array of size ZERO Pin
Aescleal24-Nov-10 10:06
Aescleal24-Nov-10 10:06 
QuestionHow to wait until Explorer finishes copying a file (Solved) Pin
ShadowUz24-Nov-10 5:03
ShadowUz24-Nov-10 5:03 
AnswerRe: How to wait until Explorer finishes copying a file Pin
Luc Pattyn24-Nov-10 5:38
sitebuilderLuc Pattyn24-Nov-10 5:38 

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.