Click here to Skip to main content
15,899,474 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File streaming problem Pin
gajendrakashyap26-Jul-06 18:25
gajendrakashyap26-Jul-06 18:25 
GeneralRe: File streaming problem Pin
David Crow27-Jul-06 2:42
David Crow27-Jul-06 2:42 
GeneralRe: File streaming problem Pin
gajendrakashyap27-Jul-06 20:16
gajendrakashyap27-Jul-06 20:16 
GeneralRe: File streaming problem Pin
David Crow28-Jul-06 2:39
David Crow28-Jul-06 2:39 
GeneralRe: File streaming problem Pin
gajendrakashyap28-Jul-06 3:26
gajendrakashyap28-Jul-06 3:26 
Questionconversions Pin
Ganesh_T25-Jul-06 3:35
Ganesh_T25-Jul-06 3:35 
AnswerRe: conversions Pin
toxcct25-Jul-06 3:51
toxcct25-Jul-06 3:51 
AnswerRe: conversions [modified] Pin
Zac Howland25-Jul-06 3:55
Zac Howland25-Jul-06 3:55 
Cast your variable to the proper type:

__int64 i64 = 1234567;<br />
unsigned long ul32_1 = (unsigned long)i64;<br />
// or<br />
unsigned long ul32_2 = static_cast<unsigned long>(i64);


Alternatively, when going from large ints to smaller ones, you can use bit manipulation to just give you the high bits or the low bits (depending on what you are trying to do).


-- modified at 9:59 Tuesday 25th July, 2006
QuestionAbout data_seg? Pin
dSolariuM25-Jul-06 3:18
dSolariuM25-Jul-06 3:18 
QuestionRe: About data_seg? Pin
David Crow25-Jul-06 3:28
David Crow25-Jul-06 3:28 
AnswerRe: About data_seg? Pin
Zac Howland25-Jul-06 3:58
Zac Howland25-Jul-06 3:58 
AnswerRe: thread Pin
toxcct25-Jul-06 2:53
toxcct25-Jul-06 2:53 
JokeRe: thread Pin
Hamid_RT25-Jul-06 2:57
Hamid_RT25-Jul-06 2:57 
QuestionHow to set a .ico as default icon to my application Pin
Kiran Pinjala25-Jul-06 2:21
Kiran Pinjala25-Jul-06 2:21 
AnswerRe: How to set a .ico as default icon to my application Pin
Hamid_RT25-Jul-06 2:33
Hamid_RT25-Jul-06 2:33 
AnswerRe: How to set a .ico as default icon to my application Pin
toxcct25-Jul-06 2:42
toxcct25-Jul-06 2:42 
AnswerRe: How to set a .ico as default icon to my application Pin
houari_id25-Jul-06 4:02
houari_id25-Jul-06 4:02 
AnswerRe: How to set a .ico as default icon to my application Pin
ThatsAlok25-Jul-06 20:32
ThatsAlok25-Jul-06 20:32 
Questionhow to include lib file in project [modified] Pin
_tasleem25-Jul-06 2:15
_tasleem25-Jul-06 2:15 
AnswerRe: how to include lib file in project Pin
Naveen25-Jul-06 2:39
Naveen25-Jul-06 2:39 
GeneralRe: link error LNK2019 Pin
_tasleem25-Jul-06 2:52
_tasleem25-Jul-06 2:52 
GeneralRe: link error LNK2019 Pin
Hamid_RT25-Jul-06 3:01
Hamid_RT25-Jul-06 3:01 
GeneralRe: link error LNK2019 [modified] Pin
_tasleem25-Jul-06 3:38
_tasleem25-Jul-06 3:38 
GeneralRe: link error LNK2019 Pin
spacecadet1025-Jul-06 16:08
spacecadet1025-Jul-06 16:08 
Questionrun spreadsheet from visual c++ Pin
identity_8525-Jul-06 1:33
identity_8525-Jul-06 1:33 

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.