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

C / C++ / MFC

 
GeneralRe: draw multiple lines and move then on screen Pin
Richard MacCutchan28-Jul-13 7:09
mveRichard MacCutchan28-Jul-13 7:09 
GeneralRe: draw multiple lines and move then on screen Pin
Rajdeep_28-Jul-13 20:21
Rajdeep_28-Jul-13 20:21 
GeneralRe: draw multiple lines and move then on screen Pin
Erudite_Eric29-Jul-13 21:30
Erudite_Eric29-Jul-13 21:30 
GeneralRe: draw multiple lines and move then on screen Pin
leon de boer11-Aug-13 4:26
leon de boer11-Aug-13 4:26 
Questionwhat is the usage about _Out_opt_bytecapcount_ Pin
yu-jian28-Jul-13 1:00
yu-jian28-Jul-13 1:00 
AnswerRe: what is the usage about _Out_opt_bytecapcount_ Pin
Richard Andrew x6428-Jul-13 8:16
professionalRichard Andrew x6428-Jul-13 8:16 
Questionget the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
JoneLe8627-Jul-13 9:43
JoneLe8627-Jul-13 9:43 
AnswerRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 9:57
pasztorpisti27-Jul-13 9:57 
The actual address of a function that is imported from another module is resolved while loading your image. If the other image is a dll then it can be loaded to any address if it has a relocation table. If you are curious about the address of a function whose code is in a builtin system dll then you can ask the function address with (GetModuleHandle() or LoadLibrary()) + GetProcAddress() yourself in your program without reading anything from an exe/dll file as some builtin dlls (kernel32, user32) are loaded to the same virtual address in the virtual memory space of every process in the system (at least on 32 bit windows versions, never tried the 64 bit ones). This is an old trick. This has nothing to do with the IMAGE_IMPORT_DESCRITPTOR of a specific image, this way you retrieve a constant that is guaranteed to be constant from system startup to system shutdown.
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
JoneLe8627-Jul-13 10:00
JoneLe8627-Jul-13 10:00 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 10:01
pasztorpisti27-Jul-13 10:01 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 10:03
pasztorpisti27-Jul-13 10:03 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
Richard Andrew x6427-Jul-13 14:10
professionalRichard Andrew x6427-Jul-13 14:10 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 14:50
pasztorpisti27-Jul-13 14:50 
QuestionRegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Vaclav_24-Jul-13 12:20
Vaclav_24-Jul-13 12:20 
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Richard Andrew x6424-Jul-13 14:08
professionalRichard Andrew x6424-Jul-13 14:08 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
«_Superman_»24-Jul-13 18:38
professional«_Superman_»24-Jul-13 18:38 
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
«_Superman_»24-Jul-13 18:40
professional«_Superman_»24-Jul-13 18:40 
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Richard MacCutchan24-Jul-13 21:24
mveRichard MacCutchan24-Jul-13 21:24 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Vaclav_25-Jul-13 7:17
Vaclav_25-Jul-13 7:17 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Jochen Arndt25-Jul-13 7:43
professionalJochen Arndt25-Jul-13 7:43 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? SOLVED Pin
Vaclav_26-Jul-13 5:50
Vaclav_26-Jul-13 5:50 
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? SOLVED Pin
Richard Andrew x6426-Jul-13 12:26
professionalRichard Andrew x6426-Jul-13 12:26 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Richard MacCutchan25-Jul-13 9:14
mveRichard MacCutchan25-Jul-13 9:14 
QuestionProblem with loop in C++ Pin
Kripa Khanal24-Jul-13 5:40
Kripa Khanal24-Jul-13 5:40 
AnswerRe: Problem with loop in C++ Pin
pasztorpisti24-Jul-13 7:21
pasztorpisti24-Jul-13 7:21 

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.