Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 4:39
Gary R. Wheeler7-Mar-06 4:39 
GeneralRe: Maximum size of scrollbars Pin
pgrohs7-Mar-06 6:16
pgrohs7-Mar-06 6:16 
GeneralRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 6:39
Gary R. Wheeler7-Mar-06 6:39 
AnswerRe: Maximum size of scrollbars Pin
pgrohs7-Mar-06 7:10
pgrohs7-Mar-06 7:10 
GeneralRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 12:23
Gary R. Wheeler7-Mar-06 12:23 
GeneralRe: Maximum size of scrollbars Pin
pgrohs7-Mar-06 22:34
pgrohs7-Mar-06 22:34 
QuestionOk to use unsigned __int64 for an API expecting ULARGE_INTEGER? Pin
dandy727-Mar-06 3:42
dandy727-Mar-06 3:42 
AnswerRe: Ok to use unsigned __int64 for an API expecting ULARGE_INTEGER? Pin
Jack Puppy7-Mar-06 4:18
Jack Puppy7-Mar-06 4:18 
I had the same problem recently using GetFileSizeEx. Turns out LARGE_INTEGER is a struct.

MSDN says...

The ULARGE_INTEGER structure is actually a union. If your compiler has built-in support for 64-bit integers, use the QuadPart member to store the 64-bit integer. Otherwise, use the LowPart and HighPart members to store the 64-bit integer.

<br />
LARGE_INTEGER nTemp;<br />
::GetFileSizeEx(hFile, &nTemp);<br />
<br />
unsigned __int64 nFileSize = nTemp.QuadPart;<br />




"My dog worries about the economy. Alpo is up to 99 cents a can. That's almost seven dollars in dog money" - Wacky humour found in a business magazine

AnswerRe: Ok to use unsigned __int64 for an API expecting ULARGE_INTEGER? Pin
Gary R. Wheeler7-Mar-06 4:42
Gary R. Wheeler7-Mar-06 4:42 
GeneralRe: Ok to use unsigned __int64 for an API expecting ULARGE_INTEGER? Pin
dandy727-Mar-06 7:27
dandy727-Mar-06 7:27 
Questioncomparing two void* values Pin
Amr Shahin7-Mar-06 3:42
Amr Shahin7-Mar-06 3:42 
AnswerRe: comparing two void* values Pin
toxcct7-Mar-06 3:46
toxcct7-Mar-06 3:46 
AnswerRe: comparing two void* values Pin
James R. Twine7-Mar-06 4:12
James R. Twine7-Mar-06 4:12 
QuestionIE Active X Control Pin
folkenmax7-Mar-06 2:46
folkenmax7-Mar-06 2:46 
AnswerRe: IE Active X Control Pin
Stephen Hewitt7-Mar-06 3:17
Stephen Hewitt7-Mar-06 3:17 
GeneralRe: IE Active X Control Pin
folkenmax7-Mar-06 3:29
folkenmax7-Mar-06 3:29 
GeneralRe: IE Active X Control Pin
Stephen Hewitt7-Mar-06 12:04
Stephen Hewitt7-Mar-06 12:04 
AnswerRe: IE Active X Control Pin
folkenmax7-Mar-06 6:52
folkenmax7-Mar-06 6:52 
Questionmenu icons color change Pin
_tasleem7-Mar-06 2:38
_tasleem7-Mar-06 2:38 
AnswerRe: menu icons color change Pin
James R. Twine7-Mar-06 4:14
James R. Twine7-Mar-06 4:14 
GeneralRe: menu icons color change Pin
_tasleem7-Mar-06 17:24
_tasleem7-Mar-06 17:24 
QuestionChanging the Resolution from 800x600 to 1024x768 Pin
nripun7-Mar-06 2:08
nripun7-Mar-06 2:08 
AnswerRe: Changing the Resolution from 800x600 to 1024x768 Pin
Hamid_RT7-Mar-06 2:19
Hamid_RT7-Mar-06 2:19 
QuestionRe: Changing the Resolution from 800x600 to 1024x768 Pin
David Crow7-Mar-06 2:31
David Crow7-Mar-06 2:31 
AnswerRe: Changing the Resolution from 800x600 to 1024x768 Pin
J51219827-Mar-06 3:28
J51219827-Mar-06 3:28 

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.