Click here to Skip to main content
15,888,733 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: compile a class Pin
CPallini27-Jan-10 11:00
mveCPallini27-Jan-10 11:00 
QuestionDLL "organization" ? Pin
Vaclav_27-Jan-10 7:13
Vaclav_27-Jan-10 7:13 
AnswerRe: DLL "organization" ? Pin
Richard MacCutchan27-Jan-10 9:24
mveRichard MacCutchan27-Jan-10 9:24 
QuestionNumeric Template Error C2296 Pin
Skippums27-Jan-10 6:51
Skippums27-Jan-10 6:51 
AnswerRe: Numeric Template Error C2296 Pin
Richard MacCutchan27-Jan-10 9:14
mveRichard MacCutchan27-Jan-10 9:14 
GeneralRe: Numeric Template Error C2296 Pin
Skippums27-Jan-10 10:15
Skippums27-Jan-10 10:15 
GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan27-Jan-10 22:00
mveRichard MacCutchan27-Jan-10 22:00 
GeneralRe: Numeric Template Error C2296 Pin
Skippums28-Jan-10 3:49
Skippums28-Jan-10 3:49 
OK... I must not be communicating clearly, so here is how I am currently interpreting your answers:

"There is no way to put a compile-time (ie, using the preprocessor) guard on a block of statements based on the type of a template parameter. If you want to execute code within a template for types with differing interfaces, you must either create specialized templates for each type, create multiple methods with unique signatures, or typecast the input to the appropriate type for each applicable section of code. Any of these methods will work, and there is no other way to accomplish the same thing."

Did I interpret your answers correctly, or is something above not true? Thanks,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan28-Jan-10 5:16
mveRichard MacCutchan28-Jan-10 5:16 
GeneralRe: Numeric Template Error C2296 Pin
Ken Moynihan28-Jun-10 16:41
Ken Moynihan28-Jun-10 16:41 
GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan28-Jun-10 21:29
mveRichard MacCutchan28-Jun-10 21:29 
GeneralRe: Numeric Template Error C2296 Pin
kmoy00728-Jun-10 22:46
kmoy00728-Jun-10 22:46 
GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan29-Jun-10 1:40
mveRichard MacCutchan29-Jun-10 1:40 
Questionscrolling image using GDI+ under Windows 7 is very slow and flicking Pin
CODEPC27-Jan-10 4:14
CODEPC27-Jan-10 4:14 
AnswerRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
LunaticFringe27-Jan-10 11:08
LunaticFringe27-Jan-10 11:08 
GeneralRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
CODEPC27-Jan-10 12:09
CODEPC27-Jan-10 12:09 
GeneralRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
LunaticFringe27-Jan-10 13:06
LunaticFringe27-Jan-10 13:06 
QuestionClosing a document and leaving the view Pin
maycockt27-Jan-10 3:13
maycockt27-Jan-10 3:13 
AnswerRe: Closing a document and leaving the view Pin
CPallini27-Jan-10 3:30
mveCPallini27-Jan-10 3:30 
GeneralRe: Closing a document and leaving the view [modified] Pin
maycockt27-Jan-10 3:58
maycockt27-Jan-10 3:58 
AnswerRe: Closing a document and leaving the view Pin
krmed27-Jan-10 4:37
krmed27-Jan-10 4:37 
GeneralRe: Closing a document and leaving the view Pin
maycockt27-Jan-10 4:48
maycockt27-Jan-10 4:48 
GeneralRe: Closing a document and leaving the view Pin
krmed27-Jan-10 4:53
krmed27-Jan-10 4:53 
GeneralRe: Closing a document and leaving the view Pin
maycockt27-Jan-10 4:58
maycockt27-Jan-10 4:58 
GeneralRe: Closing a document and leaving the view Pin
krmed27-Jan-10 5:05
krmed27-Jan-10 5:05 

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.