Click here to Skip to main content
15,916,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak12-May-05 23:09
fardak12-May-05 23:09 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends13-May-05 9:45
professionalPJ Arends13-May-05 9:45 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak13-May-05 21:39
fardak13-May-05 21:39 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends13-May-05 22:08
professionalPJ Arends13-May-05 22:08 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak13-May-05 23:01
fardak13-May-05 23:01 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends14-May-05 8:03
professionalPJ Arends14-May-05 8:03 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak14-May-05 20:16
fardak14-May-05 20:16 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends15-May-05 10:25
professionalPJ Arends15-May-05 10:25 
Sorry, but that is my fault. The functions are named Min and Max, I forgot to capitalize them when I typed them in here. In lower case the way they are now, the compiler substites the function names for the min and max macros defined in WinDef.h so it is trying to compile a line that looks like this:
static T (((a) < (b)) ? (a) : (b)) { return (T)~0 > 0 ?...
and it can not find the variables a and b.

So capitalize min() and max() to Min() and Max() and it will work fine.

Sorry about that.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004

GeneralRe: Ranges of an unsigned _int64 Pin
fardak16-May-05 1:58
fardak16-May-05 1:58 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak16-May-05 23:05
fardak16-May-05 23:05 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends17-May-05 6:49
professionalPJ Arends17-May-05 6:49 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak17-May-05 21:47
fardak17-May-05 21:47 
QuestionQuery regarding recv() Winsock2? Pin
arrya_amit12-May-05 20:32
arrya_amit12-May-05 20:32 
AnswerRe: Query regarding recv() Winsock2? Pin
itkid13-May-05 1:59
itkid13-May-05 1:59 
GeneralRe: Query regarding recv() Winsock2? Pin
arrya_amit13-May-05 2:14
arrya_amit13-May-05 2:14 
GeneralVisual studio .NET hangs sometimes Pin
PrashantJ12-May-05 20:15
PrashantJ12-May-05 20:15 
GeneralRe: Visual studio .NET hangs sometimes Pin
ThatsAlok12-May-05 20:21
ThatsAlok12-May-05 20:21 
GeneralRe: Visual studio .NET hangs sometimes Pin
Priyank Bolia12-May-05 23:12
Priyank Bolia12-May-05 23:12 
QuestionText segmentation/detection....any idea for logic??? Pin
Bruce_Almighty12-May-05 18:32
Bruce_Almighty12-May-05 18:32 
AnswerRe: Text segmentation/detection....any idea for logic??? Pin
khan++12-May-05 21:09
khan++12-May-05 21:09 
QuestionHow can I compile Visual C++ 6.0 for run with Windows NT Server 3.51? Pin
otakung12-May-05 17:04
otakung12-May-05 17:04 
GeneralJust your comments... Pin
tom_dx12-May-05 15:38
tom_dx12-May-05 15:38 
GeneralRe: Just your comments... Pin
Priyank Bolia12-May-05 19:17
Priyank Bolia12-May-05 19:17 
GeneralRe: Just your comments... Pin
Bob Stanneveld12-May-05 22:33
Bob Stanneveld12-May-05 22:33 
GeneralRe: Just your comments... Pin
ThatsAlok13-May-05 0:49
ThatsAlok13-May-05 0:49 

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.