Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralI have a problem about ID_FILE_SAVE and ID_FILE_PRINT Pin
-=JoKeR=-9-Apr-03 15:40
-=JoKeR=-9-Apr-03 15:40 
GeneralRe: I have a problem about ID_FILE_SAVE and ID_FILE_PRINT Pin
CodeBrain9-Apr-03 21:38
CodeBrain9-Apr-03 21:38 
GeneralNT Driver Pin
John R. Shaw9-Apr-03 13:52
John R. Shaw9-Apr-03 13:52 
GeneralRe: NT Driver Pin
geo_m10-Apr-03 5:07
geo_m10-Apr-03 5:07 
GeneralRe: NT Driver Pin
John R. Shaw10-Apr-03 8:44
John R. Shaw10-Apr-03 8:44 
GeneralDAO and dialog based application Pin
midupk9-Apr-03 12:21
midupk9-Apr-03 12:21 
GeneralRe: DAO and dialog based application Pin
Joel Lucsy9-Apr-03 16:22
Joel Lucsy9-Apr-03 16:22 
Generalproblem with reading data from the disk drive. Pin
Anonymous9-Apr-03 11:35
Anonymous9-Apr-03 11:35 
When reading information from the disk drive it's read wrong. Let's say this is the contents of the disk:

B3 2D 02 40 (hexadecimal)

when i read that information into a DWORD it becomes 0x40022db3. Is it possible to read the data so it becomes 0xb32d0240 in my buffer? OK. Let's say i convert this to binary:

10110011001011010000001001000000

Is it then possible to load the data into a struct from right to left instead of left to right?

so if i have this struct and the above data is on the disk, that it would put it in from right to left:

typedef struct {
	unsigned int horizontal_size_value:12;
	unsigned int vertical_size_value:12;
	unsigned int aspect_ratio_information:4;
	unsigned int frame_rate_code:4;
} info;


Thanks all!
GeneralRe: problem with reading data from the disk drive. Pin
Toni789-Apr-03 19:42
Toni789-Apr-03 19:42 
GeneralEasy one...but not for me :o) Pin
MemLeak9-Apr-03 9:57
MemLeak9-Apr-03 9:57 
GeneralRe: Easy one...but not for me :o) Pin
Ravi Bhavnani9-Apr-03 10:11
professionalRavi Bhavnani9-Apr-03 10:11 
GeneralRe: Easy one...but not for me :o) Pin
MemLeak9-Apr-03 10:12
MemLeak9-Apr-03 10:12 
GeneralMouseWheel and ScrollBar with CWnd Pin
leander9-Apr-03 9:16
leander9-Apr-03 9:16 
GeneralRe: MouseWheel and ScrollBar with CWnd Pin
leander9-Apr-03 21:36
leander9-Apr-03 21:36 
Questionuse UNICODE string ? Pin
_skidrow_vn_9-Apr-03 9:13
_skidrow_vn_9-Apr-03 9:13 
AnswerRe: use UNICODE string ? Pin
Tim Smith9-Apr-03 9:25
Tim Smith9-Apr-03 9:25 
GeneralRe: use UNICODE string ? Pin
_skidrow_vn_9-Apr-03 12:12
_skidrow_vn_9-Apr-03 12:12 
AnswerRe: use UNICODE string ? Pin
Dave Bryant9-Apr-03 9:30
Dave Bryant9-Apr-03 9:30 
GeneralRe: use UNICODE string ? Pin
Maximilien9-Apr-03 9:38
Maximilien9-Apr-03 9:38 
GeneralDifferentiate Networktraffic from Internettraffic Pin
pma9-Apr-03 8:36
pma9-Apr-03 8:36 
Generalchange contrast Pin
nbhagia9-Apr-03 6:35
nbhagia9-Apr-03 6:35 
GeneralBurning CDs programatically Pin
mabotta9-Apr-03 6:30
mabotta9-Apr-03 6:30 
GeneralRe: Burning CDs programatically Pin
Daniel Turini9-Apr-03 6:39
Daniel Turini9-Apr-03 6:39 
Generalhiding and displaying radio buttons in a group Pin
si_699-Apr-03 5:39
si_699-Apr-03 5:39 
GeneralRe: hiding and displaying radio buttons in a group Pin
Maximilien9-Apr-03 6:34
Maximilien9-Apr-03 6:34 

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.